[FFmpeg-devel] [PATCH] Avoid possible endless loop in dvdsub decoder.

Michael Niedermayer michaelni at gmx.at
Tue Aug 2 22:33:18 CEST 2011


On Tue, Aug 02, 2011 at 07:30:15PM +0200, Reimar Döffinger wrote:
> Decode offsets should be checked to be strictly monotonically
> increasing, otherwise an endless loop is possible.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavcodec/dvdsubdec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

should be ok when tested
but maybe a warning should be printed

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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110802/23e21e86/attachment.asc>


More information about the ffmpeg-devel mailing list