Versions Compared

Key

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

...

Modern compilers recognize the difference between a char * and a wchar_t *, so compiling code that violates this rule will generate warnings. It is feasible to have automated software that recognizes functions of improper width and replaces them with functions of proper width (that is, software that uses wcsncpy() when it recognizes that the parameters are of type wchar_t *).

Tool

Version

Checker

Description

PRQA QA-C

Include Page
PRQA QA-C_v
PRQA QA-C_v

0432

 

 

Related Vulnerabilities

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

...