This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: FD_SET and FORTIFY_SOURCE
- From: Andreas Schwab <schwab at suse dot de>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 28 Feb 2013 09:29:41 +0100
- Subject: Re: FD_SET and FORTIFY_SOURCE
- References: <512F0CC6.8080302@redhat.com>
Florian Weimer <fweimer@redhat.com> writes:
> I thought we did bounds checking for FD_SET in FORTIFY_SOURCE mode. But
> it seems we don't. Would this be reasonable to add?
Isn't that what __FD_ELT in <bits/select2.h> does?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."