This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77992] Provide feature to initialize padding bytes to avoid information leaks
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2016 07:38:24 +0000
- Subject: [Bug c/77992] Provide feature to initialize padding bytes to avoid information leaks
- Auto-submitted: auto-generated
- References: <bug-77992-4@http.gcc.gnu.org/bugzilla/>
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).