Versions Compared

Key

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

...

Wiki Markup
The {{strcpy_s()}} function defined in \[[ISO/IEC TR 24731-1-2007|AA. C References#ISO/IEC TR 24731-1-2007]\] provides additional safeguards, including accepting the size of the destination buffer as an additional argument \[[STR00STR07-A. Use TR 24731 for remediation of existing string manipulation code]\].  Also, {{strnlen_s()}} accepts a maximum-length argument for strings that may not be null terminated.

...