]> git.proxmox.com Git - mirror_frr.git/commit
spf6d: fix use after free (2) (Coverity 1221459)
authorpaco <paco@voltanet.io>
Wed, 20 Jun 2018 16:09:35 +0000 (18:09 +0200)
committerpaco <paco@voltanet.io>
Thu, 21 Jun 2018 13:18:13 +0000 (15:18 +0200)
commit7edb6aa5834437b6cf6850b4de1684841f0e88f2
tree5a3553c70ab7402a41d8a87f92ee9ae51561e03d
parentce872c6adb26cb62051dcbbdaec8676516f936a8
spf6d: fix use after free (2) (Coverity 1221459)

Previous fix was incomplete, as calling ospf6_lsa_unlock() frees 'req' but
it does not put it to zero, so it was called ospf6_lsdb_remove() afterwards
even being 'req' already freed.

Signed-off-by: F. Aragon <paco@voltanet.io>
ospf6d/ospf6_flood.c