FD_SET and FORTIFY_SOURCE
Florian Weimer
fweimer@redhat.com
Thu Feb 28 08:46:00 GMT 2013
On 02/28/2013 09:29 AM, Andreas Schwab wrote:
> 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?
Ah, right. It was a recent addition, in late 2011.
--
Florian Weimer / Red Hat Product Security Team
More information about the Libc-alpha
mailing list