CertC-STRΒΆ

Characters and Strings

Nested Rules

CertC-STR30

Do not attempt to modify string literals

CertC-STR31

Guarantee that storage for strings has sufficient space for character data and the null terminator

CertC-STR32

Do not pass a non-null-terminated character sequence to a library function that expects a string

CertC-STR34

Cast characters to unsigned char before converting to larger integer sizes

CertC-STR37

Arguments to character-handling functions must be representable as an unsigned char

CertC-STR38

Do not confuse narrow and wide character strings and functions

Options