News for hackers. Stuff that matters.
Re:Beyond Reformatting: More Code Cleanup by bpineau on Wednesday July 29, 2015 @06:29AM (#9967622)
"We now do this consistently: a = malloc(n * sizeof(a));"

Isn't calloc(3) the safer paradigm (protecting against integer overflows, in case n sizeof > SIZE_MAX) recommanded for this case ? (besides the memory zeroing).

There are no comments on this comment yet.