[Bug c/77992] Provide feature to initialize padding bytes to avoid information leaks

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 17 07:39:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
   Last reconfirmed|                            |2016-10-17
         Resolution|INVALID                     |---
            Summary|Failures to initialize      |Provide feature to
                   |padding bytes -- causing    |initialize padding bytes to
                   |many information leaks      |avoid information leaks
     Ever confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #14 from Richard Biener <rguenth at gcc dot gnu.org> ---
Re-opening as an enhacement request for sth like -fexplict-padding adding
artificial fields to structures padding.

Patches welcome (hint: look into stor-layout.c, start_record_layout /
finish_record_layout, place_field).


More information about the Gcc-bugs mailing list