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

History Of Ticket 1564642fffffffff

Artifacts Associated With Ticket 1564642fffffffff

  1. Ticket change [98d68b10ce] (rid 110680) by msofer on 2006-09-24 18:18:13:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In tclIO.c at line 1277 we find the following code:
      
          while (statePtr->topChanPtr != prevChanPtr) {
      statePtr = statePtr->nextCSPtr;
          }
      
          if (statePtr == NULL) {
              ....
          }
      
      Now: statePtr cannot be NULL at the end of the loop (or
      else the loop condition would segfault): this is either
      a bug or dead code.
      
      PS: this is coverity bug #51 for Tcl.
      
    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: "msofer"
    10. subsystem initialized to: "25. Channel System"
    11. title initialized to: "possible segv in tclIO.c?"
    12. type initialized to: "Bug"
  2. Ticket change [919bceb177] (rid 120643) by andreas_kupries on 2006-09-26 04:56:11:

    1. closedate changed to: "2006-09-25T21:56:11"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Fixed in both 8.4 branch, and head. Added a check for NULL
      to the loop guard.
      
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"