1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00

ensure we don't end up with a partially initialised EA structure

This commit is contained in:
Andrew Tridgell 2008-06-06 10:53:00 -07:00
parent c014ffabc6
commit 388f4fde36

View File

@ -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;
}