Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 76ff53b50b2b7d04d1b4b252dfa80152feccfdaa43701f800c7df6548ae1aa72
Ticket: 469c5ea507367fa9f8c8587c2502d93e0f425231
VFS breaks when [pwd] is non-existent native directory
User & Date: dgp on 2018-11-08 17:42:33
Changes

  1. icomment:
    
    Copying their demo:
    
    o reproduce:
    
    $ rm -rf d
    $ mkdir d
    $ cd d
    $ rm -rf ../d
    $ env - pwd
    pwd: couldn't find directory entry in '..' with matching i-node
    $ tclsh8.6
    % file delete spong
    error deleting "spong": bad address in system call argument
    %
    
    strace shows:
    
    getcwd(0x7ffcf224aeb0, 4097)            = -1 ENOENT (No such file or directory)
    lstat(NULL, 0x7ffcf224c100)             = -1 EFAULT (Bad address)
    
  2. login: "dgp"
  3. mimetype: "text/plain"