[FFmpeg-devel] [BUG] on ff_parse with unknown constant
Ramiro Ribeiro Polla
ramiro
Thu Jun 21 01:30:03 CEST 2007
Michael Niedermayer wrote:
> Hi
>
> On Tue, Jun 19, 2007 at 07:48:27PM -0300, Ramiro Ribeiro Polla wrote:
>
>> 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.
>>
>
> ok
>
>
Applied after fixing the error Limin Wang noticed.
Ramiro Polla
More information about the ffmpeg-devel
mailing list