Repository navigation
Update bundled OpenJPH to 0.33.0 - #261
Merged
Merged
Conversation
Take upstream tag 0.33.0 for the OpenEXR auxiliary codec, including the HTJ2K one-row codeblock allocation fix and the NLT marker bounds checks. Keep the FreeImage SIMD opt-in and ARM64EC guard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates bundled OpenJPH from 0.32.0 to upstream tag
0.33.0(345a8bc) for #259.OpenJPH is carried inside the OpenEXR tree, but this update is independent of the OpenEXR 3.5.3 snapshot. No library sources were added or removed, so the CMake and
Makefile.srcslists are unchanged. After the import, the only difference from upstreamsrc/coreis the existing FreeImage SIMD opt-in and ARM64EC guard inojph_arch.h, including removal of the Win32_BitScanForward64intrinsic pragma. The Win32 AVX2 encoder workaround and the i686 SSE memory-clear fix are now upstream.The release includes:
OpenJphNltTestfeeds a short 8-bit LUT marker followed by extra bytes, and truncated prefixes of that marker. The Linux OpenJPH ASan job builds and runs it next toVendorCodecTest.Testing
macOS arm64, static ASan RelWithDebInfo, OpenEXR on, WebP and LibRaw off (this host does not compile the x86 SIMD kernels):
OpenJphNltTestandVendorCodecTest(EXR ZIP, PIZ, ZSTD, HTJ2K256, HTJ2K32, LJ2K, and deep ZSTD).OpenJphNltTestabort with an AddressSanitizer heap-buffer-overflow: an 18-byte write immediately after an 18-byte allocation. The 0.33 read was put back and the test passes.x86 SIMD on and off, Windows, and GNU make stay with the existing CI matrix.
Closes #259.