1
0
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:
Stefan Metzmacher 2007-03-23 09:11:53 +00:00 committed by Gerald (Jerry) Carter
parent 8bc1316741
commit 7cb01a6495

View File

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