Skip to content
Tcl Source Code History Of Ticket 1882373fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1882373fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1882373fffffffffffffffffffffffffffffffff

  1. Ticket change [ad897e6059] (rid 101486) by an00na on 2008-01-30 04:32:04:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The last `for' loop in Tcl_GetAlias function:
        for (i = 1; i < objc; i++) {
          *argvPtr[i - 1] = TclGetString(objv[i]);
        }
      
      The bug spot is `*argvPtr[i - 1]'. Obviously, it should be `(*argvPtr)[i - 1]', otherwise, it causes invalid memory access when objc > 2, since it is only when idx is 0 that *argvPtr[idx] is the same as (*argvPtr)[idx] in effect.
      
      Thus, the fixed code is:
        for (i = 1; i < objc; i++) {
          (*argvPtr)[i - 1] = TclGetString(objv[i]);
        }
      
      It is verified by our application product.
      
      
    4. foundin initialized to: "obsolete: 8.5.0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "an00na"
    10. subsystem initialized to: "20. [interp]"
    11. title initialized to: "Bug in code of Tcl_GetAlias in tclInterp.c"
    12. type initialized to: "Bug"
  2. Ticket change [2dd8904563] (rid 119126) by dkf on 2008-01-30 17:23:02:

    1. priority changed to: "9 Immediate"
  3. Ticket change [d38801ed98] (rid 123305) by msofer on 2008-01-30 17:47:28:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2008-01-30T10:47:28"
    3. closer changed to: "msofer"
    4. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      Fixed in HEAD and 8.4
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "msofer"