diff --git a/source/libcli/raw/raweas.c b/source/libcli/raw/raweas.c index 07b517ade3f..6317c49fd76 100644 --- a/source/libcli/raw/raweas.c +++ b/source/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; }