[RTEMS Project] #4433: DesiredSymbols.h: Uninitialized pointer field error spotted by coverity

RTEMS trac trac at rtems.org
Wed May 19 16:13:54 UTC 2021


#4433: DesiredSymbols.h: Uninitialized pointer 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 1399637: Uninitialized pointer field in SymbolInformation().
 {{{
 176    SymbolInformation() :
 177      baseAddress( 0 ),
 178      uncoveredBranches( NULL ),
 179      uncoveredRanges( NULL ),
 180      unifiedCoverageMap( NULL )
 181    {
    CID 1399637 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)2.
 uninit_member: Non-static class member sourceFile is not initialized in
 this constructor nor in any functions that it calls.
 182    }
 }}}

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


More information about the bugs mailing list