mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
[bgpd] CID#62 fix double-free, use-after-free in community_str2com
2006-05-08 Paul Jakma <paul.jakma@sun.com> * bgp_community.c: (community_str2com) Coverity CID#62, fix double-free, use-after-free.
This commit is contained in:
parent
65ca75e0d1
commit
542bcb724c
@ -1,3 +1,8 @@
|
|||||||
|
2006-05-08 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
|
* bgp_community.c: (community_str2com) Coverity CID#62, fix
|
||||||
|
double-free, use-after-free.
|
||||||
|
|
||||||
2006-05-04 Paul Jakma <paul.jakma@sun.com>
|
2006-05-04 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
* (general) VPNv4 fixes. Certain VPNv4 code was not enabled.
|
* (general) VPNv4 fixes. Certain VPNv4 code was not enabled.
|
||||||
|
@ -596,7 +596,7 @@ community_str2com (const char *str)
|
|||||||
default:
|
default:
|
||||||
if (com)
|
if (com)
|
||||||
community_free (com);
|
community_free (com);
|
||||||
break;
|
return NULL;
|
||||||
}
|
}
|
||||||
} while (str);
|
} while (str);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user