| Summary: | `lineedit_ptr_to_statics` should use `BB_GLOBAL_CONST` | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | YU Jincheng <shana> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Host: | Target: | ||
| Build: | |||
|
Description
YU Jincheng
2021-09-25 14:46:17 UTC
Also `bb_errno`, `ptr_to_globals` and `test_ptr_to_statics` should also be guarded by `BB_GLOBAL_CONST`. What a mess... Someone found this bug as well... https://github.com/kisslinux/repo/blob/13e25e48ac483d36fcb13eb6f753eaec275448d8/core/busybox/patches/fix-UB.patch Fix in 1f925038ab9c6bd8f6b3cd40ed7aab0ef10d898e |