.
D 2023-10-15T11:51:16.577
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment In\stclAssembly.c,\slines\s2014\sand\s3454,\sthe\sTcl_SetErrorCode()\sis\snot\sproperly\sended\swith\sNULL.\sAdding\scompiler\schecks\sfor\sthis\sresults\sin:\r\n<pre>\r\ngeneric/tclAssembly.c:2014:63:\swarning:\smissing\ssentinel\sin\sfunction\scall\s[-Wsentinel]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sTcl_SetErrorCode(interp,\s"TCL",\s"ASSEM",\s"DUPJUMPTABLEENTRY");\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\ngeneric/tclAssembly.c:3454:64:\swarning:\smissing\ssentinel\sin\sfunction\scall\s[-Wsentinel]\r\n\s\s\s\s\s\s\s\s\s\s\s\sTcl_SetErrorCode(interp,\s"TCL",\s"ASSEM",\s"BADSTACKINCATCH",\s-1);\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^\r\n</pre>\r\n\r\nThose\stwo\sinstances\swill\slead\sto\sa\scrash,\swhen\sencoungered.\sApparently,\sthere\sis\sno\stestcase\sfor\sit\s(which\swould\s-\sindeed\s-\sbe\sdifficult\sto\swrite)\r\n\r\nIt\swould\sbe\sgood\sto\simplement\scompiler-checks\sfor\sthis,\seven\sin\s8.6
J foundin 8.6
J is_private 0
J login jan.nijtmans
J priority 5\sMedium
J private_contact 0c50e5320704d174412e57b873d8932de15303e0
J resolution None
J severity Critical
J status Open
J submitter jan.nijtmans
J subsystem 52.\sPortability\sSupport
J title Wrong\ssentinel\sin\sTcl_SetErrorCode\susage
J type Bug
K 26870862f0e8884eaec02c5a3bbc4caf2431a310
U jan.nijtmans
Z 78d5360befd3952ea9f0fd0cf2ceb0d2