in reply to Re: Filenames named "..\n" (unix)
in thread Filenames named "..\n"

Given this, would it not be more of a feature to ignore a filename named "..\n" instead of a bug. If someone bothered to embed a "\n" in the filename I probably dont want to process it anyways!? :)

Replies are listed 'Best First'.
Re^3: Filenames named "..\n" (exploits)
by tye (Sage) on Aug 02, 2005 at 06:07 UTC

    Exploits often justify paranoia...

    You wouldn't want your script that looks for set-UID exploits to miss one because the cracker put it in a file named "..\n".

    - tye        

      true, true... In that case you want them all..

      If you have a cracker that can create set-UID exploits, the fact the file name has a newline in it is the least of your worries.