Bug#784918: xviewg: XView crashes if _SC_OPEN_MAX > FD_SETSIZE

2016-12-09 Thread Benjamin Moody
Here is the patch to fix this issue. Description: Limit number of file descriptors used for select() to FD_SETSIZE. The GETDTABLESIZE macro is used to determine the maximum file descriptor that can be used with select(). On Linux, the upper limit on newly-opened file descriptors (returned, equi

Bug#784918: xviewg: XView crashes if _SC_OPEN_MAX > FD_SETSIZE

2016-12-06 Thread Benjamin Moody
Package: xviewg Version: 3.2p1.4-28.1 Followup-For: Bug #784918 I assume this bug is the same as the one I've just encountered. Specifically, XView assumes that the maximum file descriptor is smaller than the number of bits in the 'fd_set' structure. The former limit can be modified using the 'ul