Skip to content
Tcl Source Code Artifact [6fa2573931]
Login

Artifact [6fa2573931]

Artifact 6fa25739310fb7dd5c7ffe33f404f3174fe1c32e209d6d726e6bf6a61d51d769:

Ticket change [6fa2573931] - Ticket [26f1328a86863216|26f1328a86] <i>sizeof(int) &lt; sizeof(void*) -&gt; Crash</i> status still Open with 4 other changes by anonymous on 2022-01-12 13:00:35.
D 2022-01-12T13:00:35.774
J icomment Some\smore\sinformation:\r\n\r\nThe\sproblem\soriginates\sin\sJUMP_PEEPHOLE_F\s(tclExecute.c:317),\swhere\r\nTclGetInt4AtPtr(pc+1))\sis\scalculated\sand\sthan\sadded\sto\spc\sin\r\nNEXT_INST_F\s(tclExecute.c:246).\s\sThe\sbytes\sat\sthe\sincoming\spc+1\sare\r\n0xFF,0xFF,0xFD,0xBC,\swhich\sis\ssupposed\sto\smean\s-580.\r\n\r\nThe\sattached\stest\sprogram\sexercises\sthis.\s\sThe\sresult\son\sLinux/amd64\r\nis\r\n\r\n\s\s\s\s$\sgcc\s-o\sts\stest-signed-tcl.c\s&&\s./ts\r\n\s\s\s\s12\s->\sU:0\r\n\s\s\s\s12U\s->\sU:1\r\n\s\s\s\s-12\s->\sU:0\r\n\s\s\s\sint(bytes):\s-580\sU:0\r\n\s\s\s\sptr:\s0x55c79ab8f135\s+\sint(bytes)\s->\s0x55c79ab8eef1\s(diff:-580)\r\n\r\nThe\sresult\son\sPlan\s9\s(9front/amd64)\sis:\r\n\r\n\s\s\s\sterm%\spcc\s-o\stsp\stest-signed-tcl.c\s&&\stsp\r\n\s\s\s\s12\s->\sU:0\r\n\s\s\s\s12U\s->\sU:1\r\n\s\s\s\s-12\s->\sU:0\r\n\s\s\s\sint(bytes):\s-580\sU:1\r\n\s\s\s\sptr:\s0x200028\s+\sint(bytes)\s->\s0x1001FFDE4\s(diff:4294966716)
J login anonymous
J mimetype text/plain
J username [email protected]
K 26f1328a86863216c8fae28f55ff0e09135d5d35
U anonymous
Z abe9e8fd395317ca1f015be50ec7deb9