Skip to content
Tcl Source Code Artifact [791cc4c907]
Login

Artifact [791cc4c907]

Artifact 791cc4c9070b95c0090f74b23683d6f4b5a19f07bb4c9864ae3a3131caa94444:

Ticket change [791cc4c907] - New ticket [4789e18fcba7534c|4789e18fcb] <i>signed integer overflow during obj-31.6</i>. by chrstphrchvz on 2022-02-17 00:12:05.
D 2022-02-17T00:12:05.830
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment This\scommand\s(equivalent\sto\stest\sobj-31.6)\striggers\ssigned\sinteger\soverflow\s(undefined\sbehavior),\swhich\sthe\sattached\spatch\saddresses:\r\n\r\n<blockquote><pre>\r\n%\sstring\sindex\s{}\send--0x80000000\s\s\s\s\r\n<span\sstyle="font-weight:bold">tcl/generic/tclUtil.c:3846:15:<span\sstyle="color:red">\sruntime\serror:\s</span>negation\sof\s-2147483648\scannot\sbe\srepresented\sin\stype\s'int';\scast\sto\san\sunsigned\stype\sto\snegate\sthis\svalue\sto\sitself</span>\r\n<span\sstyle="font-weight:bold">tcl/generic/tclUtil.c:3770:26:<span\sstyle="color:red">\sruntime\serror:\s</span>signed\sinteger\soverflow:\s-1\s+\s-2147483648\scannot\sbe\srepresented\sin\stype\s'int'</span>\r\n</pre></blockquote>
J foundin core-8-6-branch
J is_private 0
J login chrstphrchvz
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter chrstphrchvz
J subsystem 13.\sIndex\sObject
J title signed\sinteger\soverflow\sduring\sobj-31.6
J type Patch
K 4789e18fcba7534cf2ca908eee2cca032e955c6e
U chrstphrchvz
Z 049f550bb6733ecfbc6f613507160b2f