Carefully, review the code and perform analysis as needed. Consider the following rules and recommendations and hints for items that
Carefully, review the code and perform analysis as needed. Consider the following rules and recommendations and hints for items that you might want to review. Note, that some rules and recommendations listed below may not be found as issues in the code.
STR31-C. Guarantee that storage for strings has sufficient space for character data and the nullterminator.
MSC24-C. Do not use deprecated or obsolescent functions.
FIO34-C. Distinguish between characters read from a file and EOF or WEOF.
MSC17-C. Finish every set of statements associated with a case label with a break statement.
MSC33-C. Do not pass invalid data to the asctime() function.
MSC17-C. Finish every set of statements associated with a case label with a break statement.
DCL20-C. Explicitly specify void when a function accepts no arguments.
MEM30-C. Do not access freed memory.
9 years ago
Purchase the answer to view it

- description.pdf