[FFmpeg-trac] #312(avcodec:open): Invalid reads in ff_h264_pred_direct_motion() when decoding corrupt H264 sample
FFmpeg
trac at avcodec.org
Mon Oct 3 11:14:36 CEST 2011
#312: Invalid reads in ff_h264_pred_direct_motion() when decoding corrupt H264
sample
------------------------------------+-----------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: h264 | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by cehoyos):
* status: new => open
Comment:
Still reproducible for another sample with 32bit ffmpeg:
{{{
$ valgrind ./ffmpeg_g -i test.h264 -f null -
ffmpeg version N-33240-ga5dfeb6, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 3 2011 10:53:02 with gcc 4.5.3
configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
...
==14866== Invalid read of size 2
==14866== at 0x8270360: ff_h264_pred_direct_motion (h264_direct.c:377)
==14866== Address 0xe40f900 is not stack'd, malloc'd or (recently) free'd
==14866==
==14866== Invalid read of size 2
==14866== at 0x8270370: ff_h264_pred_direct_motion (h264_direct.c:377)
==14866== Address 0xe40f902 is not stack'd, malloc'd or (recently) free'd
==14866==
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/312#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list