In Other Spaces
The page you were looking for may have moved to another space:
-
MEM04-C. Beware of zero-length allocations
(SEI CERT C Coding Standard)
When the requested size is 0, the behavior of the memory allocation functions malloc(), calloc(), and realloc() is implementation-defined. Subclause 7.22.3 of the C Standard [ISO/IEC 9899:2011 https://www.securecoding.cert....