]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/asterisk.c: ast_el_read_char 60/2060/1
authorDiederik de Groot <ddegroot@talon.nl>
Mon, 18 Jan 2016 09:49:48 +0000 (10:49 +0100)
committerMark Michelson <mmichelson@digium.com>
Thu, 21 Jan 2016 21:25:07 +0000 (15:25 -0600)
commitc68c66c61fc1757aeb7e77832249bc855cec9691
treea94053c3b61f0e9813f80d8d18fd74ba73f59fe6
parentf87c3275cc4d60871167283e621565d51b35ff8d
main/asterisk.c: ast_el_read_char

Make sure buf[res] is not accessed at res=-1 (buffer underrun).
Address Sanitizer will complain about this quite loudly.

ASTERISK-24801 #close

Change-Id: Ifcd7f691310815a31756b76067c56fba299d3ae9
main/asterisk.c