summaryrefslogtreecommitdiff
path: root/lib/json.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 12:11:29 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 13:59:00 +0100
commit8ec21cf12c25474f834254d49cdde0aac8642aab (patch)
treebddac93359b1b9b2c3b798c726a2a49fa5dcbbdb /lib/json.c
parent43b4350ca7efa79f393cf68c62b5be5614ac9a11 (diff)
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>
Diffstat (limited to 'lib/json.c')
0 files changed, 0 insertions, 0 deletions