Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)
Replace homegrown logic of calculating alignment with alignof, a C11 header feature.
Add a check for NetBSD >= 8.0 just in case that some
Avoid Undefind Behavior in DEFAULT_ALIGNMENT in GNU grep(1)
Replace homegrown logic of calculating alignment with alignof, a C11 header feature.
Add a check for NetBSD >= 8.0 just in case that someone will want to build it on older NetBSD.
Issue detected with UBSan.
show more ...
|