[libav-bugs] [Bug 984] New: left shift in libswscale/utils.c

bugzilla at libav.org bugzilla at libav.org
Tue Nov 8 17:46:57 CET 2016


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

            Bug ID: 984
           Summary: left shift in libswscale/utils.c
           Product: Libav
           Version: 11
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: ---
         Component: general
          Assignee: bugzilla at libav.org
          Reporter: ago at gentoo.org

Created attachment 615
  --> https://bugzilla.libav.org/attachment.cgi?id=615&action=edit
output

Found with the undefined behavior sanitizer.
Compiler: clang-3.8.1
Tested on: 11.8
Command to reproduce: avconv -i $FILE -f null -
Testcase:
https://github.com/asarubbo/poc/blob/master/00040-libav-leftshift-utils_c
Output:
/tmp/portage/media-video/libav-11.8/work/libav-11.8/libswscale/utils.c:340:30:
runtime error: left shift of negative value -1

-- 
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/20161108/baec5a8b/attachment.html>


More information about the libav-bugs mailing list