RE: SECURITY.NNOV: Multiple applications fd_set structure bitmap array index overflow

From: David LeBlanc (dleblanc_at_exchange.microsoft.com)
Date: 01/29/05

  • Next message: Jonathan Angliss: "SquirrelMail Security Advisory"
    Date: Fri, 28 Jan 2005 19:33:39 -0800
    To: "Damien Miller" <djm@mindrot.org>
    
    

     

    -----Original Message-----
    From: Damien Miller [mailto:djm@mindrot.org] 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.


  • Next message: Jonathan Angliss: "SquirrelMail Security Advisory"

    Relevant Pages