Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 886e7fd8ceb791da51f64119d936b5614bd5275b
Ticket: 3479689fffffffffffffffffffffffffffffffff
shimmer 0-refcount to path can segfault
User & Date: dgp on 2012-01-26 01:30:06
Changes

  1. icomment:
    
    The quick and easy fix is to bracket the
    call to Tcl_FsJoinToPath() with refcount incr/decr:
    
        pathPtr->refCount++;
        transPtr = Tcl_FSJoinToPath(pathPtr, 0, NULL);
        pathPtr->refCount--;
    
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"