summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-03-25 21:48:37 -0700
committerJeremy Allison <jra@samba.org>2009-03-25 21:48:37 -0700
commit202228d48b6459148d328840d23322ecfac00626 (patch)
tree85841da4812201173eeb929d0140caa2aaeba6b4 /source3/smbd/trans2.c
parent5adeaea664b016225518a465e3fc2ed4b8cce098 (diff)
downloadsamba-202228d48b6459148d328840d23322ecfac00626.tar.gz
samba-202228d48b6459148d328840d23322ecfac00626.tar.bz2
samba-202228d48b6459148d328840d23322ecfac00626.zip
Ensure we never enter VFS_CREATE without having initialized
sbuf as invalid (if not already read via stat()). Still trying to find the build farm RAW-STREAM errors and it's happening in a openX call.... Jeremy.
Diffstat (limited to 'source3/smbd/trans2.c')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index df01a39893..04b1145e58 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -895,6 +895,8 @@ static void call_trans2open(connection_struct *conn,
uint32 create_options = 0;
TALLOC_CTX *ctx = talloc_tos();
+ SET_STAT_INVALID(sbuf);
+
/*
* Ensure we have enough parameters to perform the operation.
*/