[FFmpeg-trac] #1359(avcodec:open): some crashers
FFmpeg
trac at avcodec.org
Mon May 28 15:36:05 CEST 2012
#1359: some crashers
------------------------------------+-----------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: cdg | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by cehoyos):
* keywords: => cdg
* priority: normal => important
* status: new => open
* component: undetermined => avcodec
* version: unspecified => git-master
Comment:
{{{
$ valgrind ./ffmpeg_g -vcodec cdgraphics -i blox.avi -f null -
==20150== Memcheck, a memory error detector.
==20150== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==20150== Using LibVEX rev 1732, a library for dynamic binary translation.
==20150== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==20150== Using valgrind-3.2.3, a dynamic binary instrumentation
framework.
==20150== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==20150== For more details, rerun with: -v
==20150==
ffmpeg version N-41080-g394b692 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 28 2012 14:04:27 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 --enable-libvpx --enable-libxavs
libavutil 51. 55.100 / 51. 55.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'blox.avi':
Duration: 00:00:12.64, start: 0.000000, bitrate: 788 kb/s
Stream #0:0: Video: cdgraphics (BLOX / 0x584F4C42), pal8, 300x216,
23.97 tbr, 23.97 tbn, 23.97 tbc
[buffer @ 0x46913e0] w:300 h:216 pixfmt:pal8 tb:100/2397 sar:0/1
sws_param:flags=2
[buffersink @ 0x4691940] No opaque field provided
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf54.6.101
Stream #0:0: Video: rawvideo, pal8, 300x216, q=2-31, 200 kb/s, 90k
tbn, 23.97 tbc
Stream mapping:
Stream #0:0 -> #0:0 (cdgraphics -> rawvideo)
Press [q] to stop, [?] for help
==20150== Invalid write of size 4
==20150== at 0x81EA4A2: cdg_decode_frame (cdgraphics.c:352)
==20150== Address 0xB283639C is not stack'd, malloc'd or (recently)
free'd
==20150==
==20150== Process terminating with default action of signal 11 (SIGSEGV)
==20150== Access not within mapped region at address 0xB283639C
==20150== at 0x81EA4A2: cdg_decode_frame (cdgraphics.c:352)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1359#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list