]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In ip_output(), initialise `ia' in the case where the packet has
authorIan Dowse <iedowse@FreeBSD.org>
Sun, 11 Mar 2001 17:50:19 +0000 (17:50 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Sun, 11 Mar 2001 17:50:19 +0000 (17:50 +0000)
commit5d936aa181dd8b8a3d0a30cd1a41d1983719546e
treeee19d2eb663ad285b41b51c786b2abed893bf96a
parent74169a2c5484e6fbc2692a0fa50de4bd37f532c8
In ip_output(), initialise `ia' in the case where the packet has
come from a dummynet pipe. Without this, the code which increments
the per-ifaddr stats can dereference an uninitialised pointer. This
should make dummynet usable again.

Reported by: "Dmitry A. Yanko" <fm@astral.ntu-kpi.kiev.ua>
Reviewed by: luigi, joe
sys/netinet/ip_output.c