[Bug 3497] New: Can escape to / directory. Causes crash

Wine Bugs wine-bugs at winehq.org
Wed Oct 5 15:37:01 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3497

           Summary: Can escape to / directory.  Causes crash
           Product: Wine
           Version: 20050930
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pdevries at ebw-electronics.com


Wine can "escape" to the OS directory structure.  Sometimes, this causes a crash.

I have three drives set up, c:, d:, and e:.  C: is the normal drive_c, and d: and e: are 
subdirectories in my home directory.  

Run notepad (wine application).  File->save as.  Now, drill up the directories, and move out of 
the wine directories into the host OS filesystem all the way until in the root directory.  Go to, say /
bin and save the file.  Saves, but the file is written to c: (~/.wine/drive_c) instead of /bin.

Run notepad.  File->save as.  Now drill all the way up until the very top.  Two entries: "/" and 
"my computer".  Try to go to "/".  Crash.  This doesn't happen all the time.

There is nothing special about notepad.  The behavior is the same with the windows 
applications I run under wine.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list