diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-14 12:11:29 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-02-14 13:59:00 +0100 |
| commit | 8ec21cf12c25474f834254d49cdde0aac8642aab (patch) | |
| tree | bddac93359b1b9b2c3b798c726a2a49fa5dcbbdb /lib/json.c | |
| parent | 43b4350ca7efa79f393cf68c62b5be5614ac9a11 (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
