]> git.ipfire.org Git - thirdparty/asterisk.git/commit
logger.c: Fix buffer overrun found by address sanitizer. 69/2069/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jan 2016 17:48:24 +0000 (11:48 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 22 Jan 2016 18:36:10 +0000 (12:36 -0600)
commitf656c1e62a2a8139ebf64705a8f0e63e6a563fcf
tree2d10246109a2cf168f141ed35ce23ad1b8ce8651
parente7309dce0277a6d869c30ab9b52e997ad7c9a78c
logger.c: Fix buffer overrun found by address sanitizer.

The null terminator of the tail struct member was not being allocated
when no logger.conf config file is installed.

ASTERISK-25714 #close
Reported by: Badalian Vyacheslav

Change-Id: I45770fdd08af39506a3bc33ba279c4f16e047a30
main/logger.c