Summary: | app-misc/pax-utils: dumpelf: multiple misaligned address error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Agostino Sarubbo
2017-02-09 15:18:15 UTC
misaligned accesses are not security issues (In reply to SpanKY from comment #1) > misaligned accesses are not security issues The misaligned access error can cause an undefined behavior, but if you think it is different, for me is fine as-is. Thanks. (In reply to Agostino Sarubbo from comment #2) it isn't undefined behavior. that is a very specific term in the C/C++ language space. unaligned accesses are not a problem on most arches (like x86, although i'm ignoring newer sse optimization requirements as they don't apply here). on many of the rest (like older arm systems), the kernel will fix them up on the fly so userspace doesn't notice. if the access isn't handled (by hardware or software), the result is an immediate crash (e.g. SIGBUS), not undefined behavior. search bugzilla history. we've never treated unaligned accesses as a security problem. i don't see a reason to start now. |