[Home]

Summary:ASTERISK-01347: [patch] Potential problems with SEEK_FORCECUR
Reporter:critch (critch)Labels:
Date Opened:2004-04-05 16:10:48Date Closed:2008-01-15 14:50:51.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) formats.diff
Description:While researching another problem I am experiencing, it was noted that SEEK_FORCECUR doesn't do certain bounds checking. Specifically whether or not it can seek to locations before the begining of audio data.

In format_wav.c, we must preserve the RIFF header space.
Comments:By: Mark Spencer (markster) 2004-04-15 12:01:00

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:50:51.000-0600

Repository: asterisk
Revision: 2694

U   trunk/formats/format_g729.c
U   trunk/formats/format_gsm.c
U   trunk/formats/format_pcm.c
U   trunk/formats/format_pcm_alaw.c
U   trunk/formats/format_wav.c
U   trunk/formats/format_wav_gsm.c

------------------------------------------------------------------------
r2694 | markster | 2008-01-15 14:50:50 -0600 (Tue, 15 Jan 2008) | 2 lines

Do proper bounds checking in formats (bug ASTERISK-1347)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=2694