Skip to content
Tcl Source Code History Of Ticket 3544658fffffffff
Login

History Of Ticket 3544658fffffffff

Artifacts Associated With Ticket 3544658fffffffff

  1. Ticket change [d97e5c9104] (rid 107622) by stwo on 2012-07-16 15:54:24:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Where do I begin with this one?
      
      tclUtil.c: In function 'UpdateStringOfEndOffset':
      tclUtil.c:3432: warning: array size (4) smaller than bound length (5)
      tclUtil.c:3432: warning: array size (4) smaller than bound length (5)
      
      Looking at commit [50bdab4682] we can see a variety of fun ways to play with strings, at least one of which is not really correct:
      char buffer[TCL_INTEGER_SPACE + sizeof("end") + 1];
      ...
      memcpy(buffer, "end", sizeof("end") + 1);
      
      And other interesting things like:
      #define TCL_CLOCK_PREFIX_LEN 14 /* == strlen("::tcl::clock::") */
      memcpy(cmdName, "::tcl::clock::", TCL_CLOCK_PREFIX_LEN);
      
      Also, the commit mentions "More ..." But I haven't found other occurrences of these changes.
      
    4. foundin initialized to: "None"
    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: "stwo"
    10. subsystem initialized to: "69. Other"
    11. title initialized to: "String constants, strlen and sizeof, oh my"
    12. type initialized to: "Bug"
  2. Ticket change [17eb1725c8] (rid 122578) by dkf on 2012-07-17 05:27:35:

    1. closedate changed to: "2012-07-16T22:27:35"
    2. closer changed to: "dkf"
    3. foundin changed to: "obsolete: 8.6b2"
    4. icomment:
      
      
      allow_comments - 1
      
      The "More" refers to the fact that removal of strcpy() from locations where the number of bytes to be copied was *already* known was a long-term project of mine (now largely finished).
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. priority changed to: "2"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"
    10. subsystem changed to: "10. Objects"
    11. username: "dkf"