[FFmpeg-trac] #2993(undetermined:new): swr ssse3: invalid read with forced mp3adu

FFmpeg trac at avcodec.org
Wed Sep 25 20:53:54 CEST 2013


#2993: swr ssse3: invalid read with forced mp3adu
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://www.datafilehost.com/d/ba6d93f1

 {{{
 knoppix at Microknoppix:/media/sdb1$ valgrind --leak-check=full ffmpeg-HEAD-
 93439e8/ffmpeg_g -acodec mp3adu -i v/vc1.wmv -loglevel 0 -vn -f null -
 ==13106== Memcheck, a memory error detector
 ==13106== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==13106== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
 info
 ==13106== Command: ffmpeg-HEAD-93439e8/ffmpeg_g -acodec mp3adu -i
 v/vc1.wmv -loglevel 0 -vn -f null -
 ==13106==
 ==13106== Invalid read of size 8
 ==13106==    at 0x881EE47: swri_resample_int16_ssse3
 (resample_template.c:122)
 ==13106==    by 0x881F61F: multiple_resample (resample.c:321)
 ==13106==    by 0x8816544: resample (swresample.c:569)
 ==13106==    by 0xB2005BF: ???
 ==13106==  Address 0xb1fe1fa is 762 bytes inside a block of size 768
 alloc'd
 ==13106==    at 0x40268A4: memalign (vg_replace_malloc.c:694)
 ==13106==    by 0x402695E: posix_memalign (vg_replace_malloc.c:835)
 ==13106==    by 0x8870187: av_malloc (mem.c:93)
 ==13106==    by 0x8862908: av_buffer_alloc (buffer.c:70)
 ==13106==    by 0x8863138: av_buffer_pool_get (buffer.c:305)
 ==13106==    by 0x86765E0: audio_get_buffer (utils.c:541)
 ==13106==    by 0x8678160: get_buffer_internal (utils.c:877)
 ==13106==    by 0x86786F3: ff_get_buffer (utils.c:889)
 ==13106==    by 0x85683B8: mp_decode_frame (mpegaudiodec.c:1633)
 ==13106==    by 0x85687B3: decode_frame_adu (mpegaudiodec.c:1783)
 ==13106==    by 0x867AA04: avcodec_decode_audio4 (utils.c:2137)
 ==13106==    by 0x80B5629: decode_audio (ffmpeg.c:1526)
 ==13106==
 ==13106==
 ==13106== HEAP SUMMARY:
 ==13106==     in use at exit: 0 bytes in 0 blocks
 ==13106==   total heap usage: 113,668 allocs, 113,668 frees, 72,354,488
 bytes allocated
 ==13106==
 ==13106== All heap blocks were freed -- no leaks are possible
 ==13106==
 ==13106== For counts of detected and suppressed errors, rerun with: -v
 ==13106== ERROR SUMMARY: 8 errors from 1 contexts (suppressed: 59 from 6)
 }}}


 {{{
 knoppix at Microknoppix:/media/sdb1$ valgrind --leak-check=full ffmpeg-HEAD-
 93439e8/ffmpeg_g -cpuflags -ssse3 -acodec mp3adu -i v/vc1.wmv -loglevel 0
 -vn -f null -
 ==18846== Memcheck, a memory error detector
 ==18846== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
 ==18846== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright
 info
 ==18846== Command: ffmpeg-HEAD-93439e8/ffmpeg_g -cpuflags -ssse3 -acodec
 mp3adu -i v/vc1.wmv -loglevel 0 -vn -f null -
 ==18846==
 ==18846==
 ==18846== HEAP SUMMARY:
 ==18846==     in use at exit: 0 bytes in 0 blocks
 ==18846==   total heap usage: 113,669 allocs, 113,669 frees, 72,354,512
 bytes allocated
 ==18846==
 ==18846== All heap blocks were freed -- no leaks are possible
 ==18846==
 ==18846== For counts of detected and suppressed errors, rerun with: -v
 ==18846== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 59 from 6)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2993>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list