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

Michael Niedermayer michaelni
Sun Jun 1 17:33:31 CEST 2008

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- 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/20080601/5461d12f/attachment.pgp>

More information about the ffmpeg-devel mailing list