summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-05-05 20:50:22 +0000
committerJeremy Allison <jra@samba.org>2000-05-05 20:50:22 +0000
commit6d9ce383061782b888f4b3403099a3c2c34b1a4c (patch)
tree60c22c6e516ee4bbb5f3faed85dc1a226e5f0919 /source3/include
parent652d98c0bc22b761de72d0ce9c5a5f96412453fe (diff)
downloadsamba-6d9ce383061782b888f4b3403099a3c2c34b1a4c.tar.gz
samba-6d9ce383061782b888f4b3403099a3c2c34b1a4c.tar.bz2
samba-6d9ce383061782b888f4b3403099a3c2c34b1a4c.zip
Fix for uninitialized memory read in brlock code. brl_locktest now needs
to correctly set the fnum, as the brl_conflict code looks at it. Jeremy. (This used to be commit df87259a356b91989604a10b3691480dcd16cf3f)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9487f4254c..146775bd2a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -823,7 +823,7 @@ BOOL brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
BOOL brl_unlock(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
uint16 smbpid, pid_t pid, uint16 tid,
br_off start, br_off size);
-BOOL brl_locktest(SMB_DEV_T dev, SMB_INO_T ino,
+BOOL brl_locktest(SMB_DEV_T dev, SMB_INO_T ino, int fnum,
uint16 smbpid, pid_t pid, uint16 tid,
br_off start, br_off size,
enum brl_type lock_type);