]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: set the returned buffer to '\0' in case is returns nothing
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 11:11:29 +0000 (12:11 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 Feb 2017 12:59:00 +0000 (13:59 +0100)
commit8ec21cf12c25474f834254d49cdde0aac8642aab
treebddac93359b1b9b2c3b798c726a2a49fa5dcbbdb
parent43b4350ca7efa79f393cf68c62b5be5614ac9a11
bgpd: set the returned buffer to '\0' in case is returns nothing

In the case where extended communities to str function is called with a
filtering mecanism, then the case that the returned buffer is not inited
may happen. Hence the change done.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_ecommunity.c