Skip to content
Tcl Source Code Artifact [05524a09d5]
Login

Artifact [05524a09d5]

Artifact 05524a09d590a14d34a0418b8e758402a6377d92:

Ticket change [05524a09d5] - Ticket [542588ffffffffff|542588ffff] <i>bug in expr error handler</i> status still Open with 4 other changes by dkf on 2002-04-18 15:28:57.
D 2002-04-18T15:28:57
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nProblem\sis\sreally\sthat\sGET_WIDE_OR_INT\s(really\sjust\nTcl_Get(Wide)IntFromObj)\sis\sfailing\sdue\sto\sinteger\srange\noverflow,\sand\sthe\scode\sas\sit\sstands\sdoes\snot\scheck\sfor\sthat\nerror\scase.\s\sHowever,\syou\scan't\salways\sfeed\sthe\svalue\sto\nparse\sinto\sTcl_GetDoubleFromObj\swhen\sGET_WIDE_OR_INT\sfails\ndue\sto\sthings\slike\sinvalid\soctal.\s\sWhat's\sworse,\sthe\snature\nof\sthe\sfailure\shas\svanished\sat\sthis\spoint\sbecause\nGET_WIDE_OR_INT\sdoes\snot\suse\san\sinterpreter,\sand\nTcl_Get(Wide)IntFromObj\sresets\serrno...\s\s:^(\n
J login dkf
J mimetype text/plain
J username dkf
K 542588ffffffffffffffffffffffffffffffffff
U dkf
Z 9c81a9bd5b82cf5de16288b47ecce5b2