Fix nasty bug pointed out by samba-technical poster. If name is mangled
commitd48069ccd8351e4bff097a7f7500c738870a413d
authorJeremy Allison <jra@samba.org>
Fri, 9 May 2003 01:06:27 +0000 (9 01:06 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 9 May 2003 01:06:27 +0000 (9 01:06 +0000)
treef40ce13faeab5be58de1835b2685926eee2e3a2d
parent016f6b4e19c2b8e4f5e1d010cc428ca194650140
Fix nasty bug pointed out by samba-technical poster. If name is mangled
then we weren't always correctly detecting that it had a valid stat struct
and so might now return a 'file existed'. Finally realized this when installing
the W2K resource kit as a test case.
Jeremy.
source/smbd/filename.c