Details
Description
Not restoring ostream format
The next output operation may not expect the stream format state being altered, resulting in incorrectly formatted output. Not restoring the stream format state of an ostream
/src/mongo/db/modules/enterprise/src/fle/lib/mongo_crypt_test.cpp:284: STREAM_FORMAT_STATE 122289 "hex" changes the format state of "std::cerr" for category basefield.
/src/mongo/db/modules/enterprise/src/fle/lib/mongo_crypt_test.cpp:288: STREAM_FORMAT_STATE 122289 Changing format state of stream "std::cerr" for category basefield without later restoring it.
Attachments
Issue Links
- duplicates
-
SERVER-64161 Coverity analysis defect 121627: Not restoring ostream format
-
- Closed
-