[RTEMS Project] #4483: GcovData.cc: Not restoring ostream format error spotted by Coverity

RTEMS trac trac at rtems.org
Wed Aug 4 18:08:56 UTC 2021


#4483: GcovData.cc: Not restoring ostream format error spotted by Coverity
------------------------+--------------------
  Reporter:  Ryan Long  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  6.1
 Component:  tool       |    Version:  6
  Severity:  normal     |   Keywords:
Blocked By:             |   Blocking:
------------------------+--------------------
 CID 1506202: Not restoring ostream format
 {{{
    3. format_changed: hex changes the format state of std::cerr for
 category basefield.
 407      std::cerr << "File is not a valid *.gcno output (magic: 0x"
 408                << std::hex << std::setw( 4 ) << preamble->magic
 409                << ")" << std::endl;
    CID 1506202 (#1 of 1): Not restoring ostream format
 (STREAM_FORMAT_STATE)4. end_of_path: Changing format state of stream
 std::cerr for category basefield without later restoring it.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4483>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list