]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix buffer overflow in slin sample frames generation. 55/555/1
authorIvan Poddubny <ivan.poddubny@gmail.com>
Sun, 31 May 2015 16:33:37 +0000 (19:33 +0300)
committerIvan Poddubny <ivan.poddubny@gmail.com>
Sun, 31 May 2015 17:29:58 +0000 (12:29 -0500)
commit888bb49618cdf952a00481ea148c0be462593f29
tree7552f5ff1d67b594ddfd8bdabbc75cf7796c07b7
parent857166b5e5dbdb81b4c25a42f36842a394989768
Fix buffer overflow in slin sample frames generation.

The length of frames retured by sample functions was twice as large as
real, what caused global buffer overflow caught by AddressSanitizer.

ASTERISK-24717 #close
Reported by: Badalian Vyacheslav

Change-Id: Iec2fe682aef13e556684912f906bedf7c18229c6
include/asterisk/slin.h