[RTEMS Project] #4487: GcovData.cc: Uninitialized scalar field error spotted by Coverity

RTEMS trac trac at rtems.org
Wed Aug 4 18:39:53 UTC 2021


#4487: GcovData.cc: Uninitialized scalar field 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 1506206: Uninitialized scalar field
 {{{
  22  GcovData::GcovData( Coverage::DesiredSymbols& symbolsToAnalyze ):
  23    numberOfFunctions( 0 ),
  24    symbolsToAnalyze_m( symbolsToAnalyze )
  25  {
    2. uninit_member: Non-static class member gcnoPreamble.magic is not
 initialized in this constructor nor in any functions that it calls.
    4. uninit_member: Non-static class member gcnoPreamble.version is not
 initialized in this constructor nor in any functions that it calls.
    CID 1506206 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)6.
 uninit_member: Non-static class member gcnoPreamble.timestamp is not
 initialized in this constructor nor in any functions that it calls.
  26  }
 }}}

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


More information about the bugs mailing list