Skip to content

Commit

Permalink
[bgpd] CID#62 fix double-free, use-after-free in community_str2com
Browse files Browse the repository at this point in the history
2006-05-08 Paul Jakma <paul.jakma@sun.com>

	* bgp_community.c: (community_str2com) Coverity CID#62, fix
	  double-free, use-after-free.
  • Loading branch information
Paul Jakma committed May 8, 2006
1 parent 65ca75e commit 542bcb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bgpd/ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion bgpd/bgp_community.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ community_str2com (const char *str)
default:
if (com)
community_free (com);
break;
return NULL;
}
} while (str);

Expand Down

0 comments on commit 542bcb7

Please sign in to comment.