Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added asctime()

...

Altering the string returned by strerror() results in undefined behavior 184.

The asctime() function is addressed in rule MSC33-C. Do not pass invalid data to the asctime() function.

Noncompliant Code Example (getenv())

...