Commit 26251e3
authored
[ubsan] Prevent miniz from performing unaligned load / stores (microsoft#7817)
By default, miniz performs unaligned loads/stores in x86/x64 platforms.
This is undefined behavior in C, and so we explicitly disable it.
Fixes 98 ubsan / alignment errors when building check-all.1 parent 0bf8434 commit 26251e3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
0 commit comments