Chapter 7. Arrays (ARR)

Recommendations and Rules

images

Risk Assessment Summary

images

Related Rules and Recommendations

images

ARR00-C. Understand how arrays work

The incorrect use of arrays has traditionally been a source of exploitable vulnerabilities. Elements referenced within an array using the subscript operator [] are not checked unless the programmer provides adequate bounds checking. As a result, the expression array[pos] = value can be used by an attacker ...

Get The CERT® C Secure Coding Standard now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.