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 17961 (Draft) Passing a non-null-terminated character sequence to a library function that expects a string [strmod]ISO/IEC TR 24731-1:2007Section 6.7.1.4, "The strncpy_s Function"
ISO/IEC TR 24772String 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

...

[Schwarz 2005] 
[Seacord 2005a] Chapter 2, "Strings" 
[Viega 2005]Section 5.2.14, "Miscalculated NULL Termination"