-
Simon Praetorius authored
Fix UB in AlignedNumber See merge request !1448 (cherry picked from commit 7428ac80) 7a5c4fc3 Use std::align to check if an address is aligned 2823d128 Skip miss-alignment check for types with 1 byte alignment 84291998 Use std::align on address miss-alignment 2017696c Check that address is misaligned 234f2098 Check alignment on placement new instead of constructor Co-authored-by:
Simon Praetorius <simon.praetorius@tu-dresden.de>
Simon Praetorius authoredFix UB in AlignedNumber See merge request !1448 (cherry picked from commit 7428ac80) 7a5c4fc3 Use std::align to check if an address is aligned 2823d128 Skip miss-alignment check for types with 1 byte alignment 84291998 Use std::align on address miss-alignment 2017696c Check that address is misaligned 234f2098 Check alignment on placement new instead of constructor Co-authored-by:
Simon Praetorius <simon.praetorius@tu-dresden.de>
To find the state of this project's repository at the time of any of these versions, check out the tags.