Bugtraq mailing list archives
Re: Sendmail fixkit
From: jfh () rpp386 cactus org (John F. Haugh II)
Date: Sat, 4 Mar 95 7:25:38 CST
Dont think so.. Lets say that ./foo is a valid directory.. Then foo// would be the same as / (correct????)Nope. Same as "./foo". Repeated slashes are counted as a single slash. At least on the versions of UNIX that I have played around with, the empty string is the same as ".", so foo// is the same as foo/./, which of course is the same as ./foo
On old versions of UNIX "" was the same as ".". On newer versions the extra /'s are just skipped over. They don't have any special meaning. -- John F. Haugh II [ NRA-ILA ] [ Kill Barney ] !'s: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 251-2151 [GOP][DoF #17][PADI][ENTJ] @'s: jfh () rpp386 cactus org The ultimate solution to the homeless problem: Cut down the Pacific Northwest forests and kill all the owls. Build houses with the wood and cook the birds!
Current thread:
- Re: Sendmail fixkit John F. Haugh II (Mar 04)
- Re: Sendmail fixkit Dave Horsfall (Mar 05)
- Re: Sendmail fixkit System Administrator (Mar 06)
- Exploit for SGI permissions tool Larry Glaze (Mar 06)
- Re: Exploit for SGI permissions tool Tony Hoffmann (Mar 06)
- no subject (file transmission) Dr. Frederick B. Cohen (Mar 06)
- <Possible follow-ups>
- Re: Sendmail fixkit der Mouse (Mar 07)
- Re: Sendmail fixkit Dave Horsfall (Mar 05)