Date: Sat, 29 Aug 2015 23:49:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202762] Fix undefined behavior in graphics/jpeg-turbo (resulting in test errors with recent clang) Message-ID: <bug-202762-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202762 Bug ID: 202762 Summary: Fix undefined behavior in graphics/jpeg-turbo (resulting in test errors with recent clang) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: bytestore@yandex.ru Flags: maintainer-feedback?(bytestore@yandex.ru) CC: bytestore@yandex.ru Created attachment 160505 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160505&action=edit Fix undefined behavior in libjpeg-turbo's jcdctmgr.c During the exp-run in bug 201377, it was found that graphics/jpeg-turbo gives testing errors with a recent clang 3.7.0 snapshot, on amd64: http://package22.nyi.freebsd.org/data/headamd64PR201377-default/2015-08-20_16h45m13s/logs/errors/libjpeg-turbo-1.4.0.log This is caused by undefined behavior in libjpeg-turbo's quantization function. It was reported upstream here: https://github.com/libjpeg-turbo/libjpeg-turbo/issues/13 and subsequently fixed in this upstream commit: https://github.com/libjpeg-turbo/libjpeg-turbo/commit/4cfa3f4c39c2e46eca3a65c67411d15e08a3fc70 I propose to merge the fix to jcdctmgr.c now, and it can be dropped again when libjpeg-turbo 1.4.2 comes out. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202762-13>