O'Reilly logo

The CERT ® C Coding Standard: 98 Rules for Developing Safe, Reliable, and Secure Systems, Second Edition by Robert C. Seacord

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Arrays (ARR)

Chapter Contents

Image

Risk Assessment Summary

Image

Image ARR30-C. Do not form or use out-of-bounds pointers or array subscripts

The C Standard identifies four distinct situations in which undefined behavior can arise as a result of invalid pointer operations:

Image Addition or subtraction of a pointer into, or just beyond, an array object and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required