Skip to content
Tcl Source Code History Of Ticket 4b3b7a3082
Login

History Of Ticket 4b3b7a3082

Artifacts Associated With Ticket 4b3b7a3082

  1. Ticket change [39659cb9da] (rid 136621) by anonymous on 2014-01-30 12:41:40:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. 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.
      
    5. foundin initialized to: "8.5.15"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "f533d94444fa1c1e17d8636ae60bdc0a92db0074"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "47. Bytecode Compiler"
    15. title initialized to:
      tcl8.5.15/generic/tclExecute.c:7713: array index before sanity check ?
      
    16. type initialized to: "Bug"
  2. Ticket change [1283f90580] (rid 136654) by jan.nijtmans on 2014-01-31 09:17:41:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2456688.88728986"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed in core-8-5-branch [f6a2f50eb8] and trunk [0b5fb73910]
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"