[libav-bugs] [Bug 102] Invalid Reads in bswap.h

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sun Nov 27 23:46:54 CET 2011


http://bugzilla.libav.org/show_bug.cgi?id=102

--- Comment #4 from Aneesh Dogra <lionaneesh at gmail.com> 2011-11-27 23:46:54 CET ---
Back Trace :-

#0  get_bits (ctx=0x428f260, avctx=0x4233a80, plane=0x428fed0, 
    code=<value optimized out>, ref_cell=0xbeeb1608, depth=20, strip_width=10)
    at libavcodec/get_bits.h:277
#1  parse_bintree (ctx=0x428f260, avctx=0x4233a80, plane=0x428fed0, 
    code=<value optimized out>, ref_cell=0xbeeb1608, depth=20, strip_width=10)
    at libavcodec/indeo3.c:738
#2  0x0836a99a in decode_plane (avctx=0x4233a80, data=0x4338c80, 
    data_size=0xbeeb18fc, avpkt=0xbeeb1808) at libavcodec/indeo3.c:821
#3  decode_frame (avctx=0x4233a80, data=0x4338c80, data_size=0xbeeb18fc, 
    avpkt=0xbeeb1808) at libavcodec/indeo3.c:1021
#4  0x084acdee in avcodec_decode_video2 (avctx=0x4233a80, picture=0x4338c80, 
    got_picture_ptr=0xbeeb18fc, avpkt=0xbeeb1808) at libavcodec/utils.c:744
#5  0x0807b4f7 in transcode_video (ist=0x4242090, ost_table=0x4249068, 
    nb_ostreams=1, pkt=0xbeeb1b48) at avconv.c:1736
#6  output_packet (ist=0x4242090, ost_table=0x4249068, nb_ostreams=1, 
    pkt=0xbeeb1b48) at avconv.c:1884
#7  0x08083d3e in transcode (argc=6, argv=0xbeeb1c54) at avconv.c:2519
#8  main (argc=6, argv=0xbeeb1c54) at avconv.c:4296

Instruction which causes the crash

av_bswap32 (ctx=0x428f260, avctx=0x4233a80, plane=0x428fed0, 
    code=<value optimized out>, ref_cell=0xbeeb1608, depth=20, strip_width=10)
    at ./libavutil/x86/bswap.h:42
42        __asm__("bswap   %0" : "+r" (x));

This bug might be x86 Specific! If anyone can check this on other systems it
will be of a great help! :)

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list