Skip to content
Tcl Source Code History Of Ticket 568123ffffffffff
Login

History Of Ticket 568123ffffffffff

Artifacts Associated With Ticket 568123ffffffffff

  1. Ticket change [a891720f6b] (rid 99022) by hemanglavana on 2002-06-12 17:29:49:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Here's the patch:
      
      Index: tclBasic.c
      ===================================================================
      RCS file: /cvsroot/tcl/tcl/generic/tclBasic.c,v
      retrieving revision 1.58
      diff -c -r1.58 tclBasic.c
      *** tclBasic.c  11 Jun 2002 15:42:19 -0000      1.58
      --- tclBasic.c  12 Jun 2002 17:19:37 -0000
      ***************
      *** 4970,4976 ****
            while ( (*tracePtr2) != NULL && (*tracePtr2) != tracePtr ) {
              tracePtr2 = &((*tracePtr2)->nextPtr);
            }
      !     if ( tracePtr2 == NULL ) {
              return;
            }
            (*tracePtr2) = (*tracePtr2)->nextPtr;
      --- 4970,4976 ----
            while ( (*tracePtr2) != NULL && (*tracePtr2) != tracePtr ) {
              tracePtr2 = &((*tracePtr2)->nextPtr);
            }
      !     if ( *tracePtr2 == NULL ) {
              return;
            }
            (*tracePtr2) = (*tracePtr2)->nextPtr;
      
      If you examine the code carefully, tracePtr2 can never be NULL because
      it is assigned the address of (*tracePtr2)->nextPtr in the while loop.
      On the other hand, it is possible for *tracePtr2 to be NULL (this is also
      one of the conditions in while loop). Hence the if condition should check
      for *tracePtr2 == NULL instead of tracePtr2 == NULL, otherwise the
      following line "(*tracePtr2) = ..." can give segmentation fault.
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "hemanglavana"
    9. subsystem initialized to: "None"
    10. title initialized to: "bug in Tcl_DeleteTrace function"
    11. type initialized to: "Bug"
  2. Ticket change [5d99e647f3] (rid 115497) by msofer on 2002-06-13 02:36:15:

    1. closedate changed to: "2002-06-12T19:36:15"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Done, thanks.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Accepted"
    7. status changed to: "Closed"
    8. username: "msofer"
  3. Ticket change [dbbaae7ffa] (rid 108010) by msofer on 2002-06-13 02:40:58:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2002-06-12T19:40:58"
    3. closer changed to: "msofer"