Fwd: New Defects reported by Coverity Scan for Konsole

kurt.hindenburg at gmail.com kurt.hindenburg at gmail.com
Mon Aug 26 00:37:26 BST 2019


FYI

-------- Forwarded Message --------
Subject: 	New Defects reported by Coverity Scan for Konsole
Date: 	Sun, 25 Aug 2019 23:31:43 +0000 (UTC)
From: 	scan-admin at coverity.com
To: 	kurt.hindenburg at gmail.com



Hi,

Please find the latest report on new defect(s) introduced to Konsole 
found with Coverity Scan.

2 new defect(s) introduced to Konsole found with Coverity Scan.
2 defect(s), reported by Coverity Scan earlier, were marked fixed in the 
recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 2 of 2 defect(s)


** CID 248004: Uninitialized members (UNINIT_CTOR)
/zpool/projects/Devel/KDE/src/konsole/src/ColorScheme.cpp: 209 in 
Konsole::ColorScheme::ColorScheme(const Konsole::ColorScheme&)()


________________________________________________________________________________________________________
*** CID 248004: Uninitialized members (UNINIT_CTOR)
/zpool/projects/Devel/KDE/src/konsole/src/ColorScheme.cpp: 209 in 
Konsole::ColorScheme::ColorScheme(const Konsole::ColorScheme&)()
203 if (other._randomTable != nullptr) {
204 for (int i = 0; i < TABLE_COLORS; i++) {
205 const RandomizationRange &range = other._randomTable[i];
206 setRandomizationRange(i, range.hue, range.saturation, range.lightness);
207 }
208 }
>>> CID 248004: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "_colorRandomization" is not initialized in 
>>> this constructor nor in any functions that it calls.
209 }
210 211 ColorScheme::~ColorScheme()
212 {
213 delete[] _table;
214 delete[] _randomTable;

** CID 248003: Uninitialized members (UNINIT_CTOR)
/zpool/projects/Devel/KDE/src/konsole/src/ColorScheme.cpp: 183 in 
Konsole::ColorScheme::ColorScheme()()


________________________________________________________________________________________________________
*** CID 248003: Uninitialized members (UNINIT_CTOR)
/zpool/projects/Devel/KDE/src/konsole/src/ColorScheme.cpp: 183 in 
Konsole::ColorScheme::ColorScheme()()
177 _randomTable(nullptr),
178 _opacity(1.0),
179 _blur(false),
180 _wallpaper(nullptr)
181 {
182 setWallpaper(QString());
>>> CID 248003: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "_colorRandomization" is not initialized in 
>>> this constructor nor in any functions that it calls.
183 }
184 185 ColorScheme::ColorScheme(const ColorScheme &other) :
186 _description(QString()),
187 _name(QString()),
188 _table(nullptr),



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20190825/bc714855/attachment-0001.html>


More information about the konsole-devel mailing list