Skip to content
Tcl Source Code Artifact [73d6d0f9a5]
Login

Artifact [73d6d0f9a5]

Artifact 73d6d0f9a57da46cd18d32cfa8c97e521cee60fc:

Ticket change [73d6d0f9a5] - New ticket [2949740fffffffff|2949740fff] <i>Segfault when open fails with &quot;b&quot; (binary) flag specified</i>. by a_kovalenko on 2010-02-11 14:56:41.
D 2010-02-11T14:56:41
J assignee andreas_kupries
J cmimetype text/plain
J comment open\s"|something-nonexistent"\srb\n=>\sSegmentation\sfault\n\nThe\scause\sis\sthat\sTcl_SetChannelOption\sis\scalled\sto\sset\sup\sbinary\stranslation,\s_without_\schecking\sfor\ssuccess,\sand\swhen\s[open]\sfails,\sNULL\schannel\sis\spassed\sinto\sthis\sfunction.\n\nA\strivial\spatch\sfixing\sthis\s(one\sof\spossible\svariants,\snot\snecessary\sof\sthe\sbest\scode\sstyle)\sis\sattached.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter a_kovalenko
J subsystem 24.\sChannel\sCommands
J title Segfault\swhen\sopen\sfails\swith\s"b"\s(binary)\sflag\sspecified
J type Bug
K 2949740fffffffffffffffffffffffffffffffff
U a_kovalenko
Z 1e27b25c6ef6930f51ff9ecbaf48923f