On Fri, Aug 6, 2010 at 7:44 AM, Stefan Schulze Frielinghaus wrote:
> if you allocate memory, e.g. via malloc(3), then it is automatically set
> to zero. This is actually a security feature quite common nowadays. I
> would like to know when this feature has made it into Fedora or in RHEL.
> Is this a mandatory feature of some security policy as e.g. the Common
> Criteria? I couldn't find much information about this. Therefore, any
> pointers, hints and so on are welcomed!

man malloc: use calloc() instead of malloc() if you want the allocated
memory to be zeroed.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to