[FFmpeg-devel] [BUG] on ff_parse with unknown constant
Ramiro Ribeiro Polla
ramiro
Wed Jun 20 00:48:27 CEST 2007
Michael Niedermayer wrote:
> Hi
>
> On Fri, Jun 15, 2007 at 09:37:31PM -0300, Ramiro Ribeiro Polla wrote:
>
>> Hello,
>>
>> ff_parse segfaults if it's passed an unknown constant. Apparently,
>> p->error is not checked for before being written to.
>>
> [...]
>
>> #3 0x0819747e in ff_parse (s=0x853f300 "", const_name=0x0, func1=0x0,
>> func1_name=0x0, func2=0x0, func2_name=0x0, error=0x0) at
>>
>
> error=0 -> wrong
>
>
Patch attached.
Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.diff
Type: text/x-patch
Size: 3462 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070619/f5b1ccaf/attachment.bin>
More information about the ffmpeg-devel
mailing list