git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d3a2e
)
s3-vfstest: Fix an uninitialized read in close
author
Volker Lendecke
<vl@samba.org>
Thu, 2 Feb 2012 15:24:30 +0000
(16:24 +0100)
committer
Volker Lendecke
<vlendec@samba.org>
Thu, 2 Feb 2012 17:00:58 +0000
(18:00 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104
source3/torture/vfstest.c
patch
|
blob
|
history
diff --git
a/source3/torture/vfstest.c
b/source3/torture/vfstest.c
index 95c377a85f90348d69e8fccc9d1375fb9b74b758..22cded804fb492542a1e33ec3721f045f925a140 100644
(file)
--- a/
source3/torture/vfstest.c
+++ b/
source3/torture/vfstest.c
@@
-478,6
+478,10
@@
int main(int argc, char *argv[])
/* some advanced initialization stuff */
smbd_vfs_init(vfs.conn);
+ if (!posix_locking_init(false)) {
+ return 1;
+ }
+
/* Do we have a file input? */
if (filename && filename[0]) {
process_file(&vfs, filename);