diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-09 10:29:34 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-09 10:34:27 +0100 |
commit | c16a00b0af1fe1268dd798254ffd2a9501cf0e17 (patch) | |
tree | ebd7130064e9cda922c277bf24d9e964358367e5 /source3/smbd | |
parent | ba922343dbfbdcc9a43e540051853c7877b21de1 (diff) | |
download | samba-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.c | 2 |
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; } } |