Versions Compared

Key

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

...

Wiki Markup
The following example is based on rule \[[MEM02-A. Do not cast the return value from malloc()]\]. The header file {{stdlib.h}} contains the function prototype for {{malloc()}}. Failing to include {{stdlib.h}} causes an unintended version of {{malloc()}} to be called without the proper function prototype in scope.

Code Block
bgColor#FFCCCC
char *p = malloc(10);

...