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

RTEMS trac trac at rtems.org
Thu Jul 15 14:50:47 UTC 2021


#4471: ReportsHtml.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 1505939: Not restoring ostream format in PutSymbolSummaryLine().
 {{{
    5. format_changed: fixed changes the format state of report for
 category floatfield.
    6. format_changed: setprecision changes the format state of report for
 category precision.
 782        report << "<td class=\"covoar-td\" align=\"center\">"
 783               << std::fixed << std::setprecision( 2 )
 784               << ( symbolInfo.stats.uncoveredInstructions * 100.0 ) /
 785                    symbolInfo.stats.sizeInInstructions
 786               << "</td>" << std::endl;
 }}}

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


More information about the bugs mailing list