You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an option to exclude softlinks from file traversal
What issue does it solve?
If you use WINE, the wine folder typically has a folder name "dosdevices" and in this folder there is a link
z: -> /
so if you include any folder which has a wine environment inside, this will include the complete filesystem of the host. Even worse, this will create a recousion and vdf will parse the file tree endlessly or until memory is used up.
The text was updated successfully, but these errors were encountered:
I don't use videoduplicatefinder in Wine, I use it native on Linux. But I use other Windows programs with Wine on my system, and when videoduplicatefinder descent into such a wine folder, then the issue arises.
@0x90d : Wine was only the example, where I became aware of the issue.
To show up, this is not related to Wine, but only to symlinks.
Some steps to reproduce without wine (assuming you don't have Wine on your system, I verified in a fresh VmWare-Machine with linuxmint-22)
cd ~/Videos
ln -s / Z:
copy some videos into the Videos folder (I tried with ~100 Files with ~16 GB together)
start VDF.GUI
add "Videos" folder to Search Directory
start scan
VDF shows "Please Wait Enumerating files...", stays inoperable and runs until memory+swap is used up, then gets killed by the linux kernel
Simply ignoring symlinks during enumeration would solve the issue
Environment
Describe desired feature
Add an option to exclude softlinks from file traversal
What issue does it solve?
If you use WINE, the wine folder typically has a folder name "dosdevices" and in this folder there is a link
z: -> /
so if you include any folder which has a wine environment inside, this will include the complete filesystem of the host. Even worse, this will create a recousion and vdf will parse the file tree endlessly or until memory is used up.
The text was updated successfully, but these errors were encountered: