From 3bea5a147b2a381fc4fa860c7b1ceeed11be4e80 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 2 Feb 2012 16:24:30 +0100 Subject: s3-vfstest: Fix an uninitialized read in close Autobuild-User: Volker Lendecke Autobuild-Date: Thu Feb 2 18:00:58 CET 2012 on sn-devel-104 --- source3/torture/vfstest.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3') diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index 95c377a85f..22cded804f 100644 --- 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); -- cgit