diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-01-02 22:32:13 -0200 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-01-02 22:32:13 -0200 |
| commit | 3cb4162cfe6d18a07a15d8c35284d0563dcfff67 (patch) | |
| tree | 13f764adbc99ffc58b52c42036c2c74877c3bcd6 /lib/mlag.h | |
| parent | 6205e5dc070c2cbb34dfc33898e185f7f6058d75 (diff) | |
lib: fix segfault on freebsd when using vsnprintf() incorrectly
FreeBSD's libc segfaults when vsnprintf() is called with a null
format string. Add a null check before calling vsnprintf() to
resolve this problem.
Fixes #3537
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/mlag.h')
0 files changed, 0 insertions, 0 deletions
