This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FD_SET and FORTIFY_SOURCE


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]