Checkout
Commit Bot
committed
23 months ago
Merged revisions 366298 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk

................
r366298 | russell | 2012-05-11 19… Show more
Merged revisions 366298 via svnmerge from

file:///srv/subversion/repos/asterisk/trunk

................

 r366298 | russell | 2012-05-11 19:03:42 -0500 (Fri, 11 May 2012) | 22 lines

 

 format_mp3: Fix a possible crash mp3_read().

 

 This patch fixes a potential crash in mp3_read() by not assuming that

 dbuf has enough data to finish filling up the output buffer.  The patch

 also makes sure that the dbuf state gets reset after we know we read

 everything out of it already.

 

 In passing, this patch includes some other cleanups of this module,

 including stripping trailing whitespace, formatting fixes based on

 coding guidelines, and removing a number of unused members from the

 private state struct.

 

 (closes issue ASTERISK-19761)

 Reported by: Chris Maciejewsk

 Tested by: Chris Maciejewsk

 ........

 

 Merged revisions 366296 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 366297 from http://svn.asterisk.org/svn/asterisk/branches/10

................

Show less