git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95129a2
)
Replace an uninitialized variable
author
Volker Lendecke
<vl@samba.org>
Wed, 9 Jan 2008 09:29:34 +0000
(10:29 +0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 9 Jan 2008 09:34:27 +0000
(10:34 +0100)
Reported by the IBM checker
source/smbd/open.c
patch
|
blob
|
history
diff --git
a/source/smbd/open.c
b/source/smbd/open.c
index 4abe01738063fb62f9f4a0cdf42b038becd2ee43..6aef99ff0e05bd0686b1b0d46347bf13298fa6cb 100644
(file)
--- a/
source/smbd/open.c
+++ b/
source/smbd/open.c
@@
-2845,6
+2845,8
@@
NTSTATUS create_file(connection_struct *conn,
goto fail;
}
+ SET_STAT_INVALID(sbuf);
+
goto done;
}
}