Versions Compared

Key

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

Null-terminated byte strings are, by definition, null-terminated. String operations cannot determine the length or end of strings that are not properly null-terminated, which can consequently result in buffer overflows and other undefined behavior.

Include Page
c:STR33 NCCE
c:STR33 NCCE
Include Page
c:STR33 CS 1
c:STR33 CS 1
Include Page
c:STR33 CS 2
c:STR33 CS 2
Include Page
c:STR33 CS 3
c:STR33 CS 3

Non-Compliant Code Example

...