Closed
Bug 20105
Opened 25 years ago
Closed 25 years ago
Uninitialized memory read in nsLineLayout::CanPlaceFrame
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: David.R.Gardiner, Assigned: buster)
Details
Attachments
(1 file)
11.17 KB,
patch
|
Details | Diff | Splinter Review |
Running Purify for NT on Viewer.exe, i get an UMR. I would expect the problem would also be evident in mozilla.exe [W] UMR: Uninitialized memory read in nsLineLayout::CanPlaceFrame(PerFrameData::nsLineLayout *,nsHTMLReflowState const&,int,nsHTMLReflowMetrics&,UINT&) {1 occurrence} Reading 4 bytes from 0x05edd4bc (4 bytes at 0x05edd4bc uninitialized) Address 0x05edd4bc is 132 bytes into a 140 byte block at 0x05edd438 Address 0x05edd4bc points to a C++ new block in heap 0x03830000 Thread ID: 0x628 Error location nsLineLayout::CanPlaceFrame(PerFrameData::nsLineLayout *,nsHTMLReflowState const&,int,nsHTMLReflowMetrics&,UINT&) [nsLineLayout.cpp:1341] // If this is a piece of text inside a letter frame... if (pfd->mIsNonEmptyTextFrame) { => if (psd->mFrame && psd->mFrame->mIsLetterFrame) { nsIFrame* prevInFlow; psd->mFrame->mFrame->GetPrevInFlow(&prevInFlow); if (prevInFlow) { nsLineLayout::ReflowFrame(nsIFrame *,nsIFrame * *,UINT&,nsHTMLReflowMetrics *) [nsLineLayout.cpp:1118] nsInlineFrame::ReflowInlineFrame(nsIPresContext *,nsHTMLReflowState const&,InlineReflowState::nsInlineFrame&,nsIFrame *,UINT&) [nsInlineFrame.cpp:489] nsInlineFrame::ReflowFrames(nsIPresContext *,nsHTMLReflowState const&,InlineReflowState::nsInlineFrame&,nsHTMLReflowMetrics&,UINT&) [nsInlineFrame.cpp:347] nsInlineFrame::Reflow(nsIPresContext *,nsHTMLReflowMetrics&,nsHTMLReflowState const&,UINT&) [nsInlineFrame.cpp:274] nsLineLayout::ReflowFrame(nsIFrame *,nsIFrame * *,UINT&,nsHTMLReflowMetrics *) [nsLineLayout.cpp:955] nsInlineFrame::ReflowInlineFrame(nsIPresContext *,nsHTMLReflowState const&,InlineReflowState::nsInlineFrame&,nsIFrame *,UINT&) [nsInlineFrame.cpp:489] nsInlineFrame::ReflowFrames(nsIPresContext *,nsHTMLReflowState const&,InlineReflowState::nsInlineFrame&,nsHTMLReflowMetrics&,UINT&) [nsInlineFrame.cpp:347] nsInlineFrame::Reflow(nsIPresContext *,nsHTMLReflowMetrics&,nsHTMLReflowState const&,UINT&) [nsInlineFrame.cpp:274] nsLineLayout::ReflowFrame(nsIFrame *,nsIFrame * *,UINT&,nsHTMLReflowMetrics *) [nsLineLayout.cpp:955]
Reporter | ||
Comment 1•25 years ago
|
||
I checked in a fix for this today. Marking as a dup of 18622. *** This bug has been marked as a duplicate of 18622 ***
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 3•25 years ago
|
||
Marking verified dup of 18622.
You need to log in
before you can comment on or make changes to this bug.
Description
•