This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]