[FFmpeg-devel] [PATCH] Check before division in RealMedia demuxer

Michael Niedermayer michaelni
Sun Jun 15 16:15:02 CEST 2008


On Fri, Jun 06, 2008 at 11:56:16PM +0200, Roberto Togni wrote:
> On Sun, 1 Jun 2008 17:33:31 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > On Sun, Jun 01, 2008 at 10:38:47AM +0200, Panagiotis Issaris wrote:
> > > Hi,
> > >
> > > In the RealMedia demuxer a division is performed using a value read in from 
> > > input. In issue 473 this causes an arithmetic exception.
> > 
> > I think the validity of sub_packet_size should be tested where it is
> > read not where it is used
> > 
> 
> This should do it (untested, I don't have the broken file).

Id say apply & close issue473. If it doesnt fix the file we dont have
it can be reopened ...

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

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080615/cc31ef24/attachment.pgp>



More information about the ffmpeg-devel mailing list