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] |
The problem is that a large amount of otherwise-correct software uses malloc and out-of-bounds FD_SET arguments to work with sets larger than FD_SETSIZE. I have written on the issue before that the "correct" way to do this is allocate an array of fd_set objects and use / and % to address the bit rather than passing an out-of-bounds argument to FD_SET (which invokes UB), but some important software like libevent (if I remember correctly) remains wrong in this regard.
-- 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] |