]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/asterisk.c: ast_el_read_char 59/2059/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:02 +0000 (15:25 -0600)
commite7309dce0277a6d869c30ab9b52e997ad7c9a78c
treea5e96338a66ae102151f53cd3f4314cbf1cf5850
parentaef26eff794fef5ed7cf0c7ef600a459facf80f6
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