mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Always initialise this - it helps callers who use this in a loop...
Andrew Bartlett
(This used to be commit 97bc047434
)
This commit is contained in:
@ -1000,6 +1000,8 @@ NTSTATUS cli_samr_query_dispinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
|
||||
ZERO_STRUCT(q);
|
||||
ZERO_STRUCT(r);
|
||||
|
||||
*num_entries = 0;
|
||||
|
||||
/* Initialise parse structures */
|
||||
|
||||
prs_init(&qbuf, MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL);
|
||||
|
Reference in New Issue
Block a user