public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10149] New: stack guard should lead with zero byte to gain protections from str* reads
@ 2009-05-12 18:05 kees at outflux dot net
  2009-05-14 21:50 ` [Bug libc/10149] stack guard should lead with zero byte to gain protections from str* writes kees at outflux dot net
  0 siblings, 1 reply; 12+ messages in thread
From: kees at outflux dot net @ 2009-05-12 18:05 UTC (permalink / raw)
  To: glibc-bugs

When building the stack guard, it has been traditionally important to have the
value start (in memory) with a zero byte to protect the guard value (and the
rest of the stack past it) from being read via strcpy, etc.

This patch reduces the number of random bytes by one, leaving the leading zero byte.

-- 
           Summary: stack guard should lead with zero byte to gain
                    protections from str* reads
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: kees at outflux dot net
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10149

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-11-10 14:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10149-131@http.sourceware.org/bugzilla/>
2011-05-15 15:01 ` [Bug libc/10149] stack guard should lead with zero byte to gain protections from str* writes drepper.fsp at gmail dot com
2014-07-01 20:34 ` fweimer at redhat dot com
2021-09-05  7:39 ` kimolsun2020 at yahoo dot com
2021-09-10 19:36 ` mehmetgelisin at aol dot com
2021-09-10 19:51 ` mark at klomp dot org
2021-10-09 11:00 ` gulsenenginar at aol dot com
2021-10-19  7:15 ` progonsaytu at gmail dot com
2021-10-21  6:45 ` bap.fayol at gmail dot com
2021-10-21 10:43 ` adhemerval.zanella at linaro dot org
2021-10-24 10:03 ` glassmtech at ukr dot net
2021-11-10 14:12 ` bryanmcsp at gmail dot com
2009-05-12 18:05 [Bug libc/10149] New: stack guard should lead with zero byte to gain protections from str* reads kees at outflux dot net
2009-05-14 21:50 ` [Bug libc/10149] stack guard should lead with zero byte to gain protections from str* writes kees at outflux dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).