summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-06-06 10:53:00 -0700
committerAndrew Tridgell <tridge@samba.org>2008-06-06 10:53:00 -0700
commit3df3bf577d5510f30aceca13b6be29267c1c6380 (patch)
treef525d621335a9cb2ffc86c8ca8da52dbab94b820 /source4
parentc6cc3cb88ec271da6c372ec881ea66ab8f6e2b68 (diff)
downloadsamba-3df3bf577d5510f30aceca13b6be29267c1c6380.tar.gz
samba-3df3bf577d5510f30aceca13b6be29267c1c6380.tar.bz2
samba-3df3bf577d5510f30aceca13b6be29267c1c6380.zip
ensure we don't end up with a partially initialised EA structure
(This used to be commit 388f4fde3655146bf57b4c51c59c39f475aa7fe8)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/raweas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/raw/raweas.c b/source4/libcli/raw/raweas.c
index 07b517ade3..6317c49fd7 100644
--- a/source4/libcli/raw/raweas.c
+++ b/source4/libcli/raw/raweas.c
@@ -131,6 +131,8 @@ uint_t ea_pull_struct(const DATA_BLOB *blob,
uint8_t nlen;
uint16_t vlen;
+ ZERO_STRUCTP(ea);
+
if (blob->length < 6) {
return 0;
}