[FFmpeg-trac] #2527(avcodec:new): UninitCond in vp3_dequant

FFmpeg trac at avcodec.org
Thu May 2 23:35:09 CEST 2013


#2527: UninitCond in vp3_dequant
----------------------------------+--------------------------------------
             Reporter:  wolenetz  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Summary of the bug:
 ==7732== Conditional jump or move depends on uninitialised value(s)
 ==7732==    at 0xAA54C9: vp3_dequant (vp3.c:1365)
 ==7732==    by 0xAA608E: render_slice (vp3.c:1582)
 ==7732==    by 0xAA816B: vp3_decode_frame (vp3.c:2104)
 ==7732==    by 0x966AA4: frame_worker_thread (pthread.c:394)
 ==7732==    by 0x5A57E99: start_thread (pthread_create.c:308)

 I hit this in current master (fd68371b072824ee6f63e38e1b2f6921a05bedcc) as
 well as when synced to much older commits (I checked as far back as ~Oct 1
 2012).

 How to reproduce:
 {{{
 ./configure --valgrind=<<path to valgrind>> --disable-optimizations
 --extra-cflags='-fno-inline -fno-omit-frame-pointer -fno-builtin -fno-
 optimize-sibling-calls' --enable-debug --enable-static --disable-shared &&
 make clean && make -j32 && <<path to valgrind>> --tool=memcheck --num-
 callers=30 --gen-suppressions=all --demangle=no --leak-check=yes --show-
 possibly-lost=no ./ffmpeg_g -i <<media file>> -f null - 2>&1
 }}}

 See attached media file.  I found this with Valgrind-3.9.0.SVN from
 http://src.chromium.org/chrome/trunk/deps/third_party/valgrind/binaries

 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

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


More information about the FFmpeg-trac mailing list