diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-06-06 10:53:00 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-06-06 10:53:00 -0700 |
commit | 3df3bf577d5510f30aceca13b6be29267c1c6380 (patch) | |
tree | f525d621335a9cb2ffc86c8ca8da52dbab94b820 /source4/libcli/raw | |
parent | c6cc3cb88ec271da6c372ec881ea66ab8f6e2b68 (diff) | |
download | samba-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/libcli/raw')
-rw-r--r-- | source4/libcli/raw/raweas.c | 2 |
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; } |