[FFmpeg-trac] #1330(avcodec:open): Invalid reads when decoding corrupted mpeg2video

FFmpeg trac at avcodec.org
Mon May 21 09:02:43 CEST 2012


#1330: Invalid reads when decoding corrupted mpeg2video
------------------------------------+-----------------------------------
             Reporter:  cehoyos     |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  mpeg2video  |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by cehoyos):

 * status:  new => open


Old description:

> (issue 1872)
>
> I will attach a corrupted mpeg2video mp4 file that causes invalid reads
> with on decoding.
> {{{
> $ ffmpeg -i test.mp4
> ffmpeg version N-40924-g349c624 Copyright (c) 2000-2012 the FFmpeg
> developers
>   built on May 21 2012 07:59:42 with gcc 4.3.2
>   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
> libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
> --enable-libtheora --extra-ldflags=-lm
>   libavutil      51. 53.100 / 51. 53.100
>   libavcodec     54. 21.101 / 54. 21.101
>   libavformat    54.  5.101 / 54.  5.101
>   libavdevice    53.  4.100 / 53.  4.100
>   libavfilter     2. 75.100 /  2. 75.100
>   libswscale      2.  1.100 /  2.  1.100
>   libswresample   0. 15.100 /  0. 15.100
>   libpostproc    52.  0.100 / 52.  0.100
> [mpeg2video @ 0x8f12d00] slice below image (41 >= 36)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
>   Metadata:
>     major_brand     : isom
>     minor_version   : 512
>     compatible_brands: isomiso2mp41
>     creation_time   : 1970-01-01 00:00:00
>     encoder         : Lavf52.61.0
>   Duration: 00:00:29.32, start: 0.000000, bitrate: 195 kb/s
>     Stream #0:0(und): Video: mpeg2video (Main) (mp4v / 0x7634706D),
> yuv420p, 720x576 [SAR 16:15 DAR 4:3], 8000 kb/s, 24.52 fps, 25 tbr, 50
> tbn, 50 tbc
>     Metadata:
>       creation_time   : 1970-01-01 00:00:00
>       handler_name    : VideoHandler
> At least one output file must be specified
> }}}

New description:

 (issue 1872)

 I will attach a corrupted mpeg2video mp4 file that causes invalid reads on
 decoding.
 {{{
 $ ffmpeg -i test.mp4
 ffmpeg version N-40924-g349c624 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 21 2012 07:59:42 with gcc 4.3.2
   configuration: --cc=/usr/local/gcc-4.3.2/bin/gcc --enable-gpl --enable-
 libopenjpeg --enable-libvorbis --enable-libspeex --enable-libmp3lame
 --enable-libtheora --extra-ldflags=-lm
   libavutil      51. 53.100 / 51. 53.100
   libavcodec     54. 21.101 / 54. 21.101
   libavformat    54.  5.101 / 54.  5.101
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 75.100 /  2. 75.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [mpeg2video @ 0x8f12d00] slice below image (41 >= 36)
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     creation_time   : 1970-01-01 00:00:00
     encoder         : Lavf52.61.0
   Duration: 00:00:29.32, start: 0.000000, bitrate: 195 kb/s
     Stream #0:0(und): Video: mpeg2video (Main) (mp4v / 0x7634706D),
 yuv420p, 720x576 [SAR 16:15 DAR 4:3], 8000 kb/s, 24.52 fps, 25 tbr, 50
 tbn, 50 tbc
     Metadata:
       creation_time   : 1970-01-01 00:00:00
       handler_name    : VideoHandler
 At least one output file must be specified
 }}}

--

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1330#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list