]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix use-after-free
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 22 May 2017 02:12:05 +0000 (02:12 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 22 May 2017 02:14:29 +0000 (02:14 +0000)
commit8f599166fb5896224d5b0ec835be4e6b8c496d3e
treeaa1d9086f87d440d6a5942dd347e6d48385fd149
parentf1deac618b5ff78657d04f443a74799881b76e21
ospf6d: fix use-after-free

ospf6_route_remove may free the ospf6_route passed to it if the refcount
reaches zero, in which case zeroing the ->flag field constitutes a uaf

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospf6d/ospf6_intra.c