https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110816

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> This potentially leaks a byte of memory.  
The only way to access that byte is to use memcpy or via char. 
-ftrivial-auto-var-init is not designed for security this way but rather for
normal code ...

IIRC atomic compare and swap will zero it out too ...

Reply via email to