Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A wide string is a contiguous sequence of wide characters terminated by and including the first null wide character. A pointer to a wide string points to its initial (lowest addressed) wide character. The length of a wide string is the number of wide characters preceding the null wide character and the value of a wide string is the sequence of code values of the contained wide characters, in order.

Recommendations

STR00-A. Use TR 24731 for remediation of existing string manipulation code

STR01-A. Use managed strings for development of new string manipulation code

Rules

STR30-C. Do not attempt to modify string literals

...

STR33-C. Guarantee that all strings are null-terminated

References