mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r21943: don't send unitialized data
metze
This commit is contained in:
parent
8bc1316741
commit
7cb01a6495
@ -2287,7 +2287,7 @@ static BOOL enumprinters(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *pipe,
|
||||
return False;
|
||||
}
|
||||
|
||||
blob = data_blob_talloc(mem_ctx, NULL, r.out.needed);
|
||||
blob = data_blob_talloc_zero(mem_ctx, r.out.needed);
|
||||
if (blob.data == NULL) {
|
||||
d_printf("(%s) data_blob_talloc failed\n", __location__);
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user