[Bug 202763] Fix undefined behavior in graphics/mozjpeg

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 30 00:27:27 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202763

            Bug ID: 202763
           Summary: Fix undefined behavior in graphics/mozjpeg
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: horia at racoviceanu.com
             Flags: maintainer-feedback?(horia at racoviceanu.com)
                CC: horia at racoviceanu.com

Created attachment 160506
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160506&action=edit
Fix undefined behavior in mozjpeg's jcdctmgr.c

Similar to bug 202762, mozjpeg's quantization function can engage in undefined
behavior.  It was fixed by this libjpeg-turbo commit:

https://github.com/libjpeg-turbo/libjpeg-turbo/issues/13

I created a pull request for mozjpeg with the same fix:

https://github.com/mozilla/mozjpeg/pull/186

I propose to merge the fix to jcdctmgr.c now, and it can be dropped again when
the next version of mozjpeg comes out.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list