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:
parent
c014ffabc6
commit
388f4fde36
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user