Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 98d68b10cef98355fe1ee067c3416a76a3a98c2f
Ticket: 1564642fffffffffffffffffffffffffffffffff
possible segv in tclIO.c?
User & Date: msofer on 2006-09-24 18:18:13
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "msofer"
  10. subsystem changed to: "25. Channel System"
  11. title changed to: "possible segv in tclIO.c?"
  12. type changed to: "Bug"