Artifacts Associated With Ticket 2949740fffffffff
Ticket change [73d6d0f9a5] (rid 105099) by a_kovalenko on 2010-02-11 14:56:41:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
open "|something-nonexistent" rb => Segmentation fault The cause is that Tcl_SetChannelOption is called to set up binary translation, _without_ checking for success, and when [open] fails, NULL channel is passed into this function. A trivial patch fixing this (one of possible variants, not necessary of the best code style) is attached.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "a_kovalenko"
- subsystem initialized to: "24. Channel Commands"
- title initialized to:
Segfault when open fails with "b" (binary) flag specified
- type initialized to: "Bug"
Ticket change [cd5d3c19d9] (rid 95878) by a_kovalenko on 2010-02-11 21:56:41:
- icomment:
File Added - 362522: tcl-openrb-fail-segfault.patch
- login: "a_kovalenko"
- mimetype: "text/plain"
- username: "a_kovalenko"
- icomment:
Add attachment "tcl-openrb-fail-segfault.patch" [3aa61aa869] (rid 112594) by a_kovalenko on 2010-02-11 21:56:41.
Ticket change [f89d6e6290] (rid 91569) by dkf on 2010-02-11 22:26:56:
- assignee changed to: "dkf"
- closedate changed to: "2010-02-11T15:26:56"
- closer changed to: "dkf"
- icomment:
allow_comments - 1 Was trivial to fix (and a silly error).
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [a74da9dfa7] (rid 98768) by dkf on 2010-02-11 22:27:09:
- foundin changed to: "obsolete: 8.5.8"