kc3-lang/libjpeg-turbo/fuzz

Branch :


Log

Author Commit Date CI Message
beeafa42 2024-08-19 10:32:31 Merge branch 'main' into dev
562ad761 2024-08-19 10:06:59 OSS-Fuzz: More MSan fixes We need to use tj3Alloc() (which, when ZERO_BUFFERS is defined, calls calloc() instead of malloc()) to allocate all destination buffers. Otherwise, if the compression/decompression/transform operation fails, then the buffer checksum (which is computed to prevent the compiler from optimizing out the whole test, since the destination buffer is never used otherwise) will depend upon values in the destination buffer that were never written, and MSan will complain.
d3224eec 2024-08-16 12:19:30 Merge branch 'main' into dev
488d42a8 2024-08-16 12:12:09 OSS-Fuzz: Define ZERO_BUFFERS for MSan build ... and use tj3Alloc() to allocate compression/transformation destination buffers.
26d978b6 2024-08-16 11:58:02 Merge branch 'main' into dev
b4336c3a 2024-08-13 15:41:54 Work around valgrind/MSan SIMD false positives Referring to https://sourceforge.net/p/libjpeg-turbo/bugs/48, https://sourceforge.net/p/libjpeg-turbo/bugs/82, #15, #238, #253, and #619, valgrind and MSan have failed to properly detect data initialization by libjpeg-turbo's x86 SIMD extensions for the entire 14 years that libjpeg-turbo has been a project, resulting in false positives unless libjpeg-turbo is built with WITH_SIMD=0 or run with JSIMD_FORCENONE=1. This commit introduces a new C preprocessor macro (ZERO_BUFFERS) that, if set, causes libjpeg-turbo to zero certain buffers in order to work around the specific valgrind/MSan test failures caused by the aforementioned false positives. This allows us to more closely approximate the production configuration of libjpeg-turbo when testing with valgrind or MSan. Closes #781
44c4cacf 2024-07-10 11:59:34 OSS-Fuzz: Test 2-bit through 15-bit data precision
e0d660f1 2024-05-08 11:42:39 Merge branch 'main' into dev
24e09baa 2024-04-12 11:46:21 Build: Add COMPONENT to all install() commands This makes it possible for downstream packagers and other integrators of libjpeg-turbo to include only specific directories from the libjpeg-turbo installation (or to install specific directories under a different prefix, etc.) The names of the components correspond to the directories into which they will be installed. Refer to libvips/libvips#3931, #265, #338 Closes #756
3ca421a3 2024-01-30 09:59:53 Fix fuzzer build failure (broken by e69dd40c07e089b1d04aa96685b1ede8bef5809d)