Overview
| Artifact ID: | 5b25d837aafb568d0424e0abe72d0ddc65810451 |
|---|---|
| Ticket: | 465765ffffffffffffffffffffffffffffffffff
zero-length write considered harmful |
| User & Date: | hobbs on 2001-09-29 00:34:42 |
Changes
- icomment:
Logged In: YES user_id=72656 The enclosed patch is definitely not correct. If you look at the TcpOutputProc in tclUnixChan.c, you'll see that it is possible for errorCode to be set even before a write is attempted. Also, errorCode will be used when written == 0, but it was never set. Thus, at least errorCode must also be set, but perhaps we are still overlooking possible valid side-effects (like acceptable errors returned with write 0).
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"