Closed
Bug 14737
Opened 26 years ago
Closed 26 years ago
Use of uninitialized pointer in nsCSSFrameConstructor.cpp
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
VERIFIED
FIXED
People
(Reporter: colin, Assigned: troy)
References
Details
In layout/html/style/src/nsCSSFrameConstructor.cpp is the following
code fragment:
nsIFrame* captionFrame;
nsFrameItems childItems;
nsFrameConstructorState state(aPresContext, mFixedContainingBlock,
GetAbsoluteContainingBlock(aPresContext,
newFrame),
captionFrame);
NS_NewTableCaptionFrame(&captionFrame);
Notice the pointer captionFrame is used before it is given a value.
This must be wrong!
Colin.
Updated•26 years ago
|
Assignee: karnaze → troy
Comment 2•26 years ago
|
||
Troy, based on cvs blame, you affected the 1st 3 lines below and Kipp the last
one. I'm not very familar with nsCSSFrameConstructorState.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•26 years ago
|
||
Marking as verified fix in the Sept 27th build.
Comment 4•26 years ago
|
||
Marking as verified fix in the Sept 27th build.
You need to log in
before you can comment on or make changes to this bug.
Description
•