[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:
Paul Jakma 2006-05-08 14:25:09 +00:00
parent 65ca75e0d1
commit 542bcb724c
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* (general) VPNv4 fixes. Certain VPNv4 code was not enabled.

View File

@ -596,7 +596,7 @@ community_str2com (const char *str)
default:
if (com)
community_free (com);
break;
return NULL;
}
} while (str);