Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moving supplement language

(This rule supplements FIO39-C. Do not alternately input and output from a stream without an intervening flush or positioning call.)

The C++ Standard, [filebuf], paragraph 2 [ISO/IEC 14882-2014], states:

...

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

Related Guidelines

...

This rule supplements FIO39-C. Do not alternately input and output from a stream without an intervening flush or positioning call.

  

Bibliography

[ISO/IEC 9899:1999]Subclause 7.19.5.3, "The fopen Function"
[ISO/IEC 14882-2014]Clause 27, "Input/Output Library"

...