Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 84c3fc6366e0973b789d21631e3d8459e78247ad
Ticket: 1564677fffffffffffffffffffffffffffffffff
possible NULL deref in Tcl_DeleteEvents
User & Date: dkf on 2006-09-25 07:09:54
Changes

  1. assignee changed to: "dkf"
  2. closedate changed to: "2006-09-25T00:09:54"
  3. closer changed to: "dkf"
  4. icomment:
    Logged In: YES 
    user_id=79902
    
    The problem is that demonstrating that the pointer is
    non-NULL is significantly tricky; it relies on higher order
    properties (and could theoretically be messed up by
    maintenance). "Fixed" in HEAD by replacing the offending
    line with:
    
    if (prevPtr == NULL) {
        Tcl_Panic("badly connected event list");
    } else {
        prevPtr->nextPtr = evPtr->nextPtr;
    }
    
    Let me know if a backport is needed.
    
    
  5. login: "dkf"
  6. mimetype: "text/plain"
  7. resolution changed to: "Fixed"
  8. status changed to: "Pending"
  9. username: "dkf"