Skip to content
Tcl Source Code Artifact [122bbc56bf]
Login

Artifact [122bbc56bf]

Artifact 122bbc56bfe297f07c1b6e3f407ca97b72abe1f3:

Ticket change [122bbc56bf] - New ticket [2073255fffffffff|2073255fff] <i>Tcl_GetString(NULL) doesn&#39;t crash on HP-UX</i>. by nijtmans on 2008-08-25 09:08:29.
D 2008-08-25T09:08:29
J assignee nijtmans
J cmimetype text/plain
J comment When\scalling\sTcl_GetString(NULL)\son\sHP-UX,\sthe\seffect\sis:\n\n\s\s\s\sUpdateStringProc\sshould\snot\sbe\sinvoked\sfor\stype\s\n\s\s\s\sAbort(coredump)\n\nThe\sreason\sfor\sthis\sis\sa\s'strange'\sfeature\sof\sthe\sHP-UX\nC\scompiler:by\sdefault\sNULL-pointer\sreferences\nare\sallowed\sand\ssimply\sreturn\s0.\sThe\sproblem\swith\sthis\nis\sthat\spointer\sreference\smistakes\scan\scause\sstrange\nbehavior\sfar\sfrom\sthe\splace\swhere\sthe\sactual\serror\sis,\nsuch\sas\sthe\sTcl_GetString(NULL)\sexample.\n\nProposed\ssolution:\sAdd\sthe\s"+z"\soptions\sto\sCFLAGS\n(see\spatch)
J foundin obsolete:\s8.5.4
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 52.\sPortability\sSupport
J title Tcl_GetString(NULL)\sdoesn't\scrash\son\sHP-UX
J type Bug
K 2073255fffffffffffffffffffffffffffffffff
U nijtmans
Z 841f9bbd198ad48a1bc740b42eb68ef8