Versions Compared

Key

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

...

Both the non-compliant code example and compliant solution are taken from FIO07FIO12-C. Prefer fseeksetvbuf() to rewindsetbuf().

Risk Assessment

While it is rare for a violation of this rule to result in a security vulnerability, it can easily result in lost or misinterpreted data.

...