]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix buffer overflow in slin sample frames generation. 56/556/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:30:16 +0000 (12:30 -0500)
commit99c54fe42d78995df3d6d538d120d3543ec557a8
treeb57270b1d9d33a2fea80a5cd486a7f5cd14d0291
parentf9877139df3c401cffafeb30107df2735d9dbdda
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