BugTraq
Back to list
|
Post reply
RE: SECURITY.NNOV: Multiple applications fd_set structure bitmap array index overflow
Jan 29 2005 03:33AM
David LeBlanc (dleblanc exchange microsoft com)
(1 replies)
-----Original Message-----
From: Damien Miller [mailto:djm (at) mindrot (dot) org [email concealed]] said:
>This effectively limits select to a maximum of FD_SETSIZE descriptors
on Windows. I don't think that this limitiation exists on other
platforms.
---------------------------
Note the bit where it says:
#ifndef FD_SETSIZE
#define FD_SETSIZE 64
#endif /* FD_SETSIZE */
So to make FD_SETSIZE any arbitrarily large value up to whatever your
system can handle, you just redefine FD_SETSIZE before you #include
winsock.h.
[ reply ]
Re: SECURITY.NNOV: Multiple applications fd_set structure bitmap array index overflow
Jan 29 2005 08:05PM
Lee Dilkie (lee_dilkie mitel com)
(1 replies)
Re: SECURITY.NNOV: Multiple applications fd_set structure bitmap array index overflow
Jan 30 2005 05:43PM
Casper Dik Sun COM
Privacy Statement
Copyright 2010, SecurityFocus
-----Original Message-----
From: Damien Miller [mailto:djm (at) mindrot (dot) org [email concealed]] said:
>This effectively limits select to a maximum of FD_SETSIZE descriptors
on Windows. I don't think that this limitiation exists on other
platforms.
---------------------------
Note the bit where it says:
#ifndef FD_SETSIZE
#define FD_SETSIZE 64
#endif /* FD_SETSIZE */
So to make FD_SETSIZE any arbitrarily large value up to whatever your
system can handle, you just redefine FD_SETSIZE before you #include
winsock.h.
[ reply ]