📍 (Değiştir)
E-Posta
🎤
Dinleniyor...
favicon
wiki.sei.cmu.edu
MEM04-C. Beware of zero-length allocations | CERT Secure Coding

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 ] states:...