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

RTEMS trac trac at rtems.org
Wed May 19 16:08:42 UTC 2021


#4432: 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:  Coverity
Blocked By:             |   Blocking:
------------------------+----------------------
 CID 1399640: Uninitialized pointer field in GcovFunctionData().
 {{{
  20  GcovFunctionData::GcovFunctionData()
  21  {
  22    numberOfArcs = 0;
  23    numberOfBlocks = 0;
  24    coverageMap = NULL;
    2. uninit_member: Non-static class member id is not initialized in this
 constructor nor in any functions that it calls.
    4. uninit_member: Non-static class member checksum is not initialized
 in this constructor nor in any functions that it calls.
    6. uninit_member: Non-static class member firstLineNumber is not
 initialized in this constructor nor in any functions that it calls.
    CID 1399640 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)8.
 uninit_member: Non-static class member symbolInfo is not initialized in
 this constructor nor in any functions that it calls.
  25  }
 }}}

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


More information about the bugs mailing list