[FFmpeg-devel] [PATCH] indeo3: fix motion vector validation

Michael Niedermayer michaelni at gmx.at
Wed Jan 25 18:57:01 CET 2012


On Wed, Jan 25, 2012 at 05:41:39PM +0100, Hendrik Leppkes wrote:
> Hi,
> 
> i found a bug today in the indeo3 decoder.
> The new motion vector validation merged from libav caused alot of the
> motion vectors to be considered invalid, because it multiplied the
> index by 2 before checking its validity.
> This patch rectifiys the situation, and checks the index before
> multiplying it to form the proper array index.
> 
> Sample that showed the bug here:
> http://aleksoid.tosei.ru/Test/Sample/indeo30.avi
> 
> I hope the link stays alive long enough. :)
> 
> - Hendrik

>  indeo3.c |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 0327bcbb6804f8adea90b0436cad7ed577dbbd87  0001-indeo3-fix-motion-vector-validation.patch
> From efa7135ec3ba665826c14c33a930e11de08acf6b Mon Sep 17 00:00:00 2001
> From: Hendrik Leppkes <h.leppkes at gmail.com>
> Date: Wed, 25 Jan 2012 17:37:26 +0100
> Subject: [PATCH] indeo3: fix motion vector validation

applied, thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- 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/20120125/0913a733/attachment.asc>


More information about the ffmpeg-devel mailing list