Fixed crash bugs Andrew pointed out with LOCK4 smbtorture
authorJeremy Allison <jra@samba.org>
Thu, 27 Apr 2000 18:46:10 +0000 (18:46 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 27 Apr 2000 18:46:10 +0000 (18:46 +0000)
commit5278ec016cb24d8263fe6e7c1d389f466270ef24
tree8975a996e780cb0d17b2c596193d97553b8c823a
parent9cde198108439358e99128fa9a1b3000e33f5414
Fixed crash bugs Andrew pointed out with LOCK4 smbtorture
test. Was miscounting posix locks, plus was not taking into account
the case where other_fsp == fsp in the 'move locks' case. DOH ! This
code will be re-written anyway :-).
Jeremy.
source/include/smb.h
source/locking/locking.c
source/smbd/open.c