Open
Bug 1361597
Opened 9 years ago
Updated 3 years ago
Coverity report: nsTableColGroupFrame::nsTableColGroupFrame(nsStyleContext *): A scalar field is not initialized by the constructor
Categories
(Core :: Layout: Tables, defect, P4)
Tracking
()
NEW
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: coverity, good-first-bug, regression, Whiteboard: [CID 750345])
Coverity CID 750345 Uninitialized scalar field
The field will contain an arbitrary value left over from earlier computations.
In nsTableColGroupFrame::nsTableColGroupFrame(nsStyleContext *): A scalar field is not initialized by the constructor
221 // border width in pixels
1. member_decl: Class member declaration for mBStartContBorderWidth.
222 BCPixelSize mBStartContBorderWidth;
3. member_decl: Class member declaration for mBEndContBorderWidth.
223 BCPixelSize mBEndContBorderWidth;
224};
225
226inline nsTableColGroupFrame::nsTableColGroupFrame(nsStyleContext* aContext)
227 : nsContainerFrame(aContext, mozilla::FrameType::TableColGroup)
228 , mColCount(0)
229 , mStartColIndex(0)
230{
231 SetColType(eColGroupContent);
2. uninit_member: Non-static class member mBStartContBorderWidth is not initialized in this constructor nor in any functions that it calls.
CID 750345 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)4. uninit_member: Non-static class member mBEndContBorderWidth is not initialized in this constructor nor in any functions that it calls.
232}
233
Updated•9 years ago
|
Blocks: coverity-analysis
Whiteboard: [CID 750345]
Updated•3 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•