Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: In "Automated Detection," is "STACK_USE" supposed to be bolded? Also, the van Sprundel 06 reference does not appear in the reference list, but links directly to source. I would fix this and add the reference, but the link appears to be broken or incorrect. Ed.

...

Wiki Markup
\[[ISO/IEC 9899-1999|AA. C References#ISO/IEC 9899-1999]\] Section 6.7.5.2, "Array declarators", Section 7.20.3, "Memory management functions"
\[[Loosemore 07|AA. C References#Loosemore 07]\] [Section 3.2.5, "Automatic Storage with Variable Size"|http://www.gnu.org/software/libc/manual/html_mono/libc.html#Variable-Size-Automatic]
\[[Seacord 05|AA. C References#Seacord 05]\] Chapter 4, "Dynamic Memory Management"
\[[van Sprundel 06|http://ilja.netric.org/files/Unusual%20bugs.pdf]\] "Stack Overflow"

...

MEM04-A. Do not make assumptions about the result of allocating 0 bytesperform zero length allocations      08. Memory Management (MEM)       MEM07-A. Ensure that size arguments to calloc() do not result in an integer overflow