]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
routed: Fix use after free.
authorpfg <pfg@FreeBSD.org>
Sat, 14 May 2016 23:07:26 +0000 (23:07 +0000)
committerpfg <pfg@FreeBSD.org>
Sat, 14 May 2016 23:07:26 +0000 (23:07 +0000)
commita45e6b4c6f8a503a4727e4949ae32e19864f96e8
treee955b0f334ad76069d87f35fd787442dbb83541d
parentfe72dd1b411d4a3344d64b7e90ab0fbaff92829e
routed: Fix use after free.

For the multihomed case, ifp be used after being freed. NULL the value
after freeing it and avoid getting into the branch without reassigning
a new value.

CID: 272671
Obtained from: NetBSD
MFC after: 2 weeks
sbin/routed/if.c