[libav-bugs] [Bug 983] New: signed integer overflow in swscale.c

bugzilla at libav.org bugzilla at libav.org
Tue Nov 8 17:42:22 CET 2016


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

            Bug ID: 983
           Summary: signed integer overflow in swscale.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 614
  --> https://bugzilla.libav.org/attachment.cgi?id=614&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/00039-libav-signedintoverflow-swscale_c
Output: 
/tmp/portage/media-video/libav-11.8/work/libav-11.8/libswscale/x86/swscale.c:189:64:
runtime error: signed integer overflow: 65463 * 65537 cannot be represented in
type 'int'

-- 
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/d193c904/attachment-0001.html>


More information about the libav-bugs mailing list