[FFmpeg-devel] [BUG] on ff_parse with unknown constant

Michael Niedermayer michaelni
Wed Jun 20 02:50:46 CEST 2007


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070620/248038d9/attachment.pgp>



More information about the ffmpeg-devel mailing list