This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/7065] Support building glibc with -fstack-protector or -fstack-protector-all
- From: "nix at esperi dot org dot uk" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Dec 2008 19:02:51 -0000
- Subject: [Bug libc/7065] Support building glibc with -fstack-protector or -fstack-protector-all
- References: <20081204003831.7065.nix@esperi.org.uk>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From nix at esperi dot org dot uk 2008-12-13 19:02 -------
Nice description, Ryan :)
A lot of the sunrpc code *does* land in libc (all the client code). Notably,
bindresvport(), clnt_create(), clnt_broadcast(), universal() (called from
registerrpc() via a callback from svc_register()), svctcp_create(),
svcudp_bufcreate(), and key_gendes(), _des_crypt() (obviously used for
DES-encrypted SunRPC), all explicitly call __bzero() and land in libc.
Almost certainly these would use memset() were the SunRPC code not ancient
Sun-derived gunge with a 1986 copyright date...
--
http://sourceware.org/bugzilla/show_bug.cgi?id=7065
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.