1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s3-vfstest: Fix an uninitialized read in close

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb  2 18:00:58 CET 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-02-02 16:24:30 +01:00 committed by Volker Lendecke
parent 25d3a2e83c
commit 3bea5a147b

View File

@ -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);