Versions Compared

Key

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

...

CERT C++ Secure Coding StandardSTR32-CPP. Null-terminate character arrays as required
ISO/IEC TR 24731-1:2007Section 6.7.1.4, "The strncpy_s Function"
ISO/IEC TR 24772:2013String termination Termination [CMJ]
ISO/IEC TS 17961 (Draft)Passing a non-null-terminated character sequence to a library function that expects a string [strmod]
MITRE CWECWE-119, Failure to constrain operations within the bounds of an allocated memory buffer
CWE-170, Improper null termination

...