Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With regards to the standard memory allocation routines, because the ISO/IEC 9899 standard defines malloc, calloc, realloc as taking a variable of type size_t, when a size value corrupted by intermediate storage is supplied as a size parameter to an allocation routine, it will be misinterrpretedresolve to an unexpected value. This error leads to the allocation of memory with an unexpected size.

...

Non-compliant Code Example 1

Code Block
// todo