[libav-bugs] [Bug 817] New: sws_scale overwrite 2 bytes

bugzilla at aruru.libav.org bugzilla at aruru.libav.org
Mon Feb 9 03:38:42 CET 2015


https://bugzilla.libav.org/show_bug.cgi?id=817

            Bug ID: 817
           Summary: sws_scale overwrite 2 bytes
           Product: Libav
           Version: git HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: ---
         Component: libswscale
          Assignee: bugzilla at libav.org
          Reporter: xiangqianyong at hotmail.com

Created attachment 520
  --> https://bugzilla.libav.org/attachment.cgi?id=520&action=edit
the test file

I have attach the test.c file.
I have test it in Linux (x86 and x86_x64), windows (x86 and x64), OSX 64bits.

gcc -g -std=c99 -I/usr/local/libav/include -L/usr/local/libav/lib test.c -o
test -lswscale -lavutil -lm

As you can see, the padding 2 bytes, 'A', 'A' whill be changed by sws_scale.
"bad" whill be printed out.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150209/a74594d1/attachment-0001.html>


More information about the libav-bugs mailing list