Artifacts Associated With Ticket 4b3b7a30821038c7
Ticket change [39659cb9da] (rid 136621) by anonymous on 2014-01-30 12:41:40:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I just ran the static analysis tool "cppcheck" over the source code of tcl8.5.15 It said many things, including [/home/dcb/rpmbuild/BUILD/tcl8.5.15/generic/tclExecute.c:7713] -> [/home/dcb/rpmbuild/BUILD/tcl8.5.15/generic/tclExecute.c:7715]: (warning) Array 'operatorStrings[34]' accessed at index 59, which is out of bounds. Otherwise condition 'opcode==99' is redundant. Source code is const char *description, *operator = operatorStrings[opcode - INST_LOR]; if (opcode == INST_EXPON) { operator = "**"; } Suggest move sanity check of opcode to before its use. - foundin initialized to: "8.5.15"
- is_private initialized to: "0"
- login: "anonymous"
- priority initialized to: "5 Medium"
- private_contact initialized to: "f533d94444fa1c1e17d8636ae60bdc0a92db0074"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "anonymous"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to:
tcl8.5.15/generic/tclExecute.c:7713: array index before sanity check ?
- type initialized to: "Bug"
Ticket change [1283f90580] (rid 136654) by jan.nijtmans on 2014-01-31 09:17:41:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2456688.88728986"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed in core-8-5-branch [f6a2f50eb8] and trunk [0b5fb73910]
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"