Overview
| Artifact ID: | 3587fb6c53cc07a87352867065c8580edc1a197f |
|---|---|
| Ticket: | 1602208fffffffffffffffffffffffffffffffff
select() on wrong fd |
| User & Date: | jfontain on 2006-11-24 10:52:54 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
I suspect a rather big problem in TclUnixWaitForFile() from tclUnixChan.c: ... int index, bit, numFound, result = 0; ... memset((void *) readyMasks, 0, 3*MASK_SIZE*sizeof(fd_mask)); index = fd/(NBBY*sizeof(fd_mask)); bit = 1 << (fd%(NBBY*sizeof(fd_mask))); ... I don't see how the code above can handle descriptors above 31, bit being a 32 bit integer. This type of bug was fixed in tclUnixNotfy.c (see 1071807). Would you please notify me as soon as a patch becomes available so I can test it, as I suspect my HA monitoring daemon is sometimes hanging because of it. - foundin changed to: "obsolete: 8.4.14"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jfontain"
- subsystem changed to: "24. Channel Commands"
- title changed to: "select() on wrong fd"
- type changed to: "Bug"