1
0
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:
Volker Lendecke
2005-04-23 18:07:01 +00:00
committed by Gerald (Jerry) Carter
parent 0ac57ae942
commit 61d40ac60d
10 changed files with 47 additions and 36 deletions

View File

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