You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
More s/malloc(size) + init/calloc(1, size)/ replacements
This time in common/comments.c and common/downtime.c. Since we
really don't want to use explicit initialization on memory that
in all likelihood is already nul'ed out, as memory returned by
calloc() always is, and memory returned from malloc() that has
not been re-used by libc but comes straight from the kernel is,
this is a good thing.
Signed-off-by: Andreas Ericsson
more s/malloc(size) + init/calloc(1, size)/ replacements (Andreas Ericsson)
[--snip--]
This time in common/comments.c and common/downtime.c. Since we
really don't want to use explicit initialization on memory that
in all likelihood is already nul'ed out, as memory returned by
calloc() always is, and memory returned from malloc() that has
not been re-used by libc but comes straight from the kernel is,
this is a good thing.
[--snip--]
fixes #409
The text was updated successfully, but these errors were encountered:
This issue has been migrated from Redmine: https://dev.icinga.com/issues/409
Created by mfriedrich on 2010-04-30 21:31:32 +00:00
Assignee: mfriedrich
Status: Resolved (closed on 2010-05-19 11:45:10 +00:00)
Target Version: 1.0.2
Last Update: 2010-05-19 11:45:10 +00:00 (in Redmine)
http://git.op5.org/git/?p=nagios.git;a=commit;h=e61679d14bb614167d835fd33dcba6c098b97539
Changesets
2010-05-12 20:11:38 +00:00 by mfriedrich 2fcb5b5
The text was updated successfully, but these errors were encountered: