mirror of
https://github.com/samba-team/samba.git
synced 2025-11-23 20:23:50 +03:00
r6445: Make us survive the PARANOID_MALLOC_CHECKER. Should we enable that for
--enable-developer=yes? Volker
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0ac57ae942
commit
61d40ac60d
@@ -372,7 +372,9 @@ BOOL eventlog_io_r_read_eventlog(const char *desc,
|
||||
|
||||
/* Now pad with whitespace until the end of the response buffer */
|
||||
|
||||
r_u->end_of_entries_padding = (uint8 *)calloc(q_u->max_read_size - r_u->num_bytes_in_resp, sizeof(uint8));
|
||||
r_u->end_of_entries_padding =
|
||||
SMB_CALLOC_ARRAY(uint8,
|
||||
q_u->max_read_size - r_u->num_bytes_in_resp);
|
||||
|
||||
if(!(prs_uint8s(False, "end of entries padding", ps,
|
||||
depth, r_u->end_of_entries_padding,
|
||||
|
||||
Reference in New Issue
Block a user