Turns out with Win9x, we could occasionally return from unix_convert() given
commitf9f686f9ea8bfe9b4f1eba4e7591c267a3b099d2
authorJeremy Allison <jra@samba.org>
Fri, 11 Oct 2002 01:17:52 +0000 (11 01:17 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 11 Oct 2002 01:17:52 +0000 (11 01:17 +0000)
tree5993687acd9d6b4378187b50c8982011dcdb0001
parent81c7f9e041c20afbc3f095240d3e2151c25a6617
Turns out with Win9x, we could occasionally return from unix_convert() given
a mangled name without a valid stat struct if the file existed. This would
then cause open_file_shared1() to erroneously think the file open was new,
thus not check for oplock break, thus causing a spurious EAGAIN reply to
the open on a file we already had kernel oplocked.... (phew - that was fun
to track down :-).
Jeremy.
source/smbd/filename.c