Commit 39280bd
committed
[fix](be) Preserve Bash 3 and UBSan compatibility
### What problem does this PR solve?
Issue Number: None
Related PR: #66857
Problem Summary: The ARM hardening changes used Bash 4 lowercase expansion in the third-party build, which breaks the Bash 3.2 shipped by supported macOS runners. The bit-packing alignment fix also left the whole unpack function excluded from undefined-behavior sanitization, so the new alignment regression test could not detect a reintroduced misaligned dereference. Use Bash 3-compatible case patterns and restore UBSan instrumentation now that all word reads use memcpy-based unaligned_load.
### Release note
None
### Check List (For Author)
- Test: Unit Test / Manual test
- Bash syntax and extracted boolean case matrix
- BE build hygiene and diff checks
- Clang 19 alignment-sanitized BitPackingUnalignedTest (1/1 passed)
- Behavior changed: No (restores supported build compatibility and sanitizer coverage)
- Does this need documentation: No1 parent 80432a7 commit 39280bd
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
1407 | | - | |
| 1407 | + | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | | - | |
1414 | | - | |
| 1413 | + | |
| 1414 | + | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | 1417 | | |
1418 | | - | |
| 1418 | + | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| |||
0 commit comments