Repository navigation
Commit dbf544f
Disable unsigned integer overflow sanitizer in libjxl
Disables the unsigned integer overflow sanitizer for libjxl.
Upstream libjxl uses unsigned wrap-around intentionally in several
places (e.g. ClampedGradient, backward loops), which triggers UBSan
aborts on Android since it is enabled by default.
Since unsigned overflow is defined behavior in C++, and these overflows
are benign, we disable this sanitizer to avoid maintaining extensive
local patches, while keeping signed overflow and other UB sanitizers
enabled.
Bug: 513832249
Test: atest CtsGraphicsTestCases:android.graphics.cts.ImageDecoderTest#testInterestingDngs
Flag: EXEMPT BUGFIX
DISABLE_TOPIC_PROTECTOR
Change-Id: I5bac14ad6973b3bc7dbbf865c2159f9f233f728c1 parent ad42213 commit dbf544f
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments