mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
zero the data, not a pointer to the data ...
(This used to be commit eeaa80aa09
)
This commit is contained in:
parent
f7cf10b6d8
commit
ec09a3e0c7
@ -1962,7 +1962,7 @@ free a data blob and clear its contents
|
||||
void data_blob_clear_free(DATA_BLOB *d)
|
||||
{
|
||||
if (d->data) {
|
||||
memset((char *)&(d->data), 0, d->length);
|
||||
memset(d->data, 0, d->length);
|
||||
}
|
||||
data_blob_free(d);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user