[rtems-tools commit] DesiredSymbols.h: Initialize symbolInfo
Joel Sherrill
joel at rtems.org
Mon Sep 27 22:18:18 UTC 2021
Module: rtems-tools
Branch: master
Commit: 06a39db587cf5c980ee2bd56d5f634859781b075
Changeset: http://git.rtems.org/rtems-tools/commit/?id=06a39db587cf5c980ee2bd56d5f634859781b075
Author: Ryan Long <ryan.long at oarcorp.com>
Date: Wed Aug 11 14:06:03 2021 -0400
DesiredSymbols.h: Initialize symbolInfo
CID 1399627: Uninitialized pointer field
Closes #4433
---
tester/covoar/DesiredSymbols.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tester/covoar/DesiredSymbols.h b/tester/covoar/DesiredSymbols.h
index 7ea3a9a..dbeeb2c 100644
--- a/tester/covoar/DesiredSymbols.h
+++ b/tester/covoar/DesiredSymbols.h
@@ -179,6 +179,7 @@ namespace Coverage {
*/
SymbolInformation() :
baseAddress( 0 ),
+ sourceFile( NULL ),
uncoveredBranches( NULL ),
uncoveredRanges( NULL ),
unifiedCoverageMap( NULL )
More information about the vc
mailing list