| Anonymous | Login | Signup for a new account | 11-10-2008 11:07 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001079 | [BusyBox] Networking Support | crash | random | 11-01-06 01:42 | 11-29-06 06:40 | ||||
| Reporter | jmunsin | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0001079: telnetd quits on SIGPIPE | ||||||||
| Description |
The line w = write(ts->sockfd, ts->buf2 + ts->wridx2, maxlen); in telnetd.c may cause a SIGPIPE. The default handler for SIGPIPE is to terminate => telnetd quits. This is wrong, at least if you are using telnetd in stand alone mode. Reproducing this is a bit tricky (timing/load dependant?), but my scripts can reproduce it after connecting 200-300 times. A quick fix is to run signal(SIGPIPE, SIG_IGN);, but perhaps there is a better way to handle this. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001768) vda 11-22-06 13:12 |
Added signal(SIGPIPE, SIG_IGN) among many other changes (standalone+inetd support, fixed IPv6 and IPv6+IPv4 support). Can you test current svn version? |
| Copyright © 2000 - 2006 Mantis Group |