<i>Segfault when open fails with "b" (binary) flag specified</i>.
by
.
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