git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cc3cb
)
ensure we don't end up with a partially initialised EA structure
author
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2008 17:53:00 +0000
(10:53 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 6 Jun 2008 17:53:00 +0000
(10:53 -0700)
(This used to be commit
388f4fde3655146bf57b4c51c59c39f475aa7fe8
)
source4/libcli/raw/raweas.c
patch
|
blob
|
history
diff --git
a/source4/libcli/raw/raweas.c
b/source4/libcli/raw/raweas.c
index 07b517ade3f24bec4fdfc8622bc13a9b0e6dbac0..6317c49fd764cb92c6109fdc53e81f1adf17e0bf 100644
(file)
--- 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;
}