News for hackers. Stuff that matters.
Re:The Lost Art of Structure Packing (2018) by steerablesafe on Monday April 27, 2020 @10:31AM (#22996145)
Zeroing padding bytes is an interesting scenario. The C++ standard does mandate zeroing padding bytes in certain cases[1], but some compilers do not conform. It's especially a nasty issue when partially overlapping subobjects and RVO are added to the mix. There is a possible defect in the C++ standard here.

[1] https://eel.is/c++draft/dcl.init#6.2

There are no comments on this comment yet.