mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +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;
|
uint8_t nlen;
|
||||||
uint16_t vlen;
|
uint16_t vlen;
|
||||||
|
|
||||||
|
ZERO_STRUCTP(ea);
|
||||||
|
|
||||||
if (blob->length < 6) {
|
if (blob->length < 6) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user