[FFmpeg-devel] [PATCH] Fix offset validity checks.

Michael Niedermayer michaelni at gmx.at
Sun Jan 29 20:01:35 CET 2012


On Sun, Jan 29, 2012 at 06:17:14PM +0100, Reimar Döffinger wrote:
> Offsets are relative to the end of the header, not the
> start of the buffer, thus the buffer size needs to be subtracted.
> 
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> ---
>  libavcodec/fraps.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

LGTM, thx

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- 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/20120129/a82c8eb4/attachment.asc>


More information about the ffmpeg-devel mailing list