hasse69 / rar2fs

FUSE file system for reading RAR archives
https://hasse69.github.io/rar2fs/
GNU General Public License v3.0
279 stars 27 forks source link

Invalid entry is exposed after commit eb8bfe9c48dd035d3af3025ffc53e718552c24a0 #72

Closed jyhpsycho closed 7 years ago

jyhpsycho commented 7 years ago

X/DIR1: total 0 drwxr-xr-x 2 rar_work users 40 2017-02-20 20:13:49.456876896 +0900 FILE1/ -rw-r--r-- 1 rar_work users 0 2017-02-20 20:13:41.752074148 +0900 FILE1.txt

X/DIR1/FILE1: total 0


* ACTUAL RESULT

X: total 0 drwxr-xr-x 3 rar_work users 80 2017-02-20 20:14:59.558112012 +0900 DIR1/

X/DIR1: total 0 drwxr-xr-x 2 rar_work users 40 2017-02-20 20:13:49.456876896 +0900 FILE1/ -rw-r--r-- 1 rar_work users 0 2017-02-20 20:13:41.752074148 +0900 FILE1.txt

X/DIR1/FILE1: ls: cannot access 'X/DIR1/FILE1/FILE1.txt': No such file or directory total 0 -????????? ? ? ? ? ? FILE1.txt


* ADDITIONAL INFORMATION

$ /dev/shm/rar2fs/rar2fs --version rar2fs v1.23.1-git6212575 (DLL version 7) Copyright (C) 2009 Hans Beckerus This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; see http://www.gnu.org/licenses/ for details. FUSE library version: 2.9.7 fusermount version: 2.9.7 using FUSE kernel interface version 7.19



 * I'll attach sample file: [TEST.zip](https://github.com/hasse69/rar2fs/files/787285/TEST.zip)
 * It does not occur with directory name 'FILE2', or other. Note that the file name is matched with directory name.
hasse69 commented 7 years ago

Oh my, not good. That commit was rather "high risk".

hasse69 commented 7 years ago

Should be fixed now.

jyhpsycho commented 7 years ago

Good, Thanks :-)