Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4433 closed defect (fixed)

DesiredSymbols.h: Uninitialized pointer field error spotted by coverity

Reported by: Ryan Long Owned by: Ryan Long <ryan.long@…>
Priority: normal Milestone: 6.1
Component: tool Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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    }

Change History (1)

comment:1 Changed on 09/27/21 at 22:18:26 by Ryan Long <ryan.long@…>

Owner: set to Ryan Long <ryan.long@…>
Resolution: fixed
Status: newclosed

In [changeset:"06a39db587cf5c980ee2bd56d5f634859781b075/rtems-tools" 06a39db/rtems-tools]:

DesiredSymbols?.h: Initialize symbolInfo

CID 1399627: Uninitialized pointer field

Closes #4433

Note: See TracTickets for help on using tickets.