Chapter 8. Characters and Strings (STR)

Recommendations and Rules

images

Risk Assessment Summary

images

Related Rules and Recommendations

images

STR00-C. Represent characters using an appropriate type

Strings are a fundamental concept in software engineering, but they are not a built-in type in C. Null-terminated byte strings (NTBS) consist of a contiguous sequence of characters terminated by and including the first null character and are supported in C as the format ...

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.