summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-09 10:29:34 +0100
committerVolker Lendecke <vl@samba.org>2008-01-09 10:34:27 +0100
commitc16a00b0af1fe1268dd798254ffd2a9501cf0e17 (patch)
treeebd7130064e9cda922c277bf24d9e964358367e5 /source3/smbd
parentba922343dbfbdcc9a43e540051853c7877b21de1 (diff)
downloadsamba-c16a00b0af1fe1268dd798254ffd2a9501cf0e17.tar.gz
samba-c16a00b0af1fe1268dd798254ffd2a9501cf0e17.tar.bz2
samba-c16a00b0af1fe1268dd798254ffd2a9501cf0e17.zip
Replace an uninitialized variable
Reported by the IBM checker (This used to be commit 48f61e4b9fce5ea4f4bc3cf55530bb757c0def07)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 4abe017380..6aef99ff0e 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2845,6 +2845,8 @@ NTSTATUS create_file(connection_struct *conn,
goto fail;
}
+ SET_STAT_INVALID(sbuf);
+
goto done;
}
}