[php-maint] Bug#478193: php5-imap file open error >1024

Gabor FUNK FUNK.Gabor at hunetkft.hu
Sun Apr 27 23:25:30 UTC 2008


in package uw-imap_2007~dfsg.orig.tar.gz
in file imap-2007/src/osdep/unix/tcp_unix.c
at line 253, there is:

  else if (sock >= FD_SETSIZE) {/* unselectable sockets are useless */
    sprintf (tmp,"Unable to create selectable TCP socket (%d >= %d)",
          sock,FD_SETSIZE);

which is bad, as it can be that FD_SETSIZE won't be the
same as the actual system ulimit value - such as now...
[just checked, this is the same in latest upstream release,
imap-2007b.DEV.SNAP-0803271840.tar.Z 
2008-MAR-28]

Couldn't simply socket opening without checking work?
Then handle if we get an error there?

Reassign to uw-imap? Upstream?

G.





More information about the pkg-php-maint mailing list