Closed
Bug 98270
Opened 24 years ago
Closed 24 years ago
SetPosition called on null ScrolledView
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: duraid, Assigned: kmcclusk)
Details
(Keywords: crash, Whiteboard: [PDT+] ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch)
Attachments
(1 file, 2 obsolete files)
|
881 bytes,
patch
|
karnaze
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
see view/src/nsScrollingView.cpp line 750: quick (mindless) fix is to enclose
code thus:
if(scrolledView) { /* add this if() */
scrolledView->SetPosition(-mOffsetX, -mOffsetY);
Scroll(scrolledview, dx, dy, t2p, 0);
NotifyScrollPositionDidChange(offsetX, offsetY);
}
Comment 1•24 years ago
|
||
This has a patch we need a review/sr
| Assignee | ||
Comment 2•24 years ago
|
||
Added nsbranch keyword
| Assignee | ||
Comment 3•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Attachment #50904 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Attachment #50905 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
Marking nsbranch- for now. Unless this prevents a crash on a known page
Reporter: Is there a page where Mozilla crashes without this fix?
Comment 7•24 years ago
|
||
Comment on attachment 50906 [details] [diff] [review]
Patch file for the suggested fix
r=karnaze
Attachment #50906 -
Flags: review+
Comment 8•24 years ago
|
||
Comment on attachment 50906 [details] [diff] [review]
Patch file for the suggested fix
sr=attinasi
Attachment #50906 -
Flags: superreview+
| Assignee | ||
Comment 9•24 years ago
|
||
Fix checked into the trunk. Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•24 years ago
|
||
Thanks! duraid@fl.net.au.
| Assignee | ||
Comment 11•24 years ago
|
||
Worth getting on to the branch. Extremely low-risk check for null pointer that
may prevent some crashes.
Marking nsbranch+.
| Assignee | ||
Updated•24 years ago
|
Whiteboard: Has Review/Super-review checked into trunk. Waiting for approval for the branch → ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch
Comment 12•24 years ago
|
||
check it in - PDT+
Whiteboard: ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch → [PDT+] ETA: Ready to check in. Has Review/Super-review checked into trunk. Waiting for approval for the branch
| Assignee | ||
Comment 13•24 years ago
|
||
Checked into Mozilla0.9.4 branch
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 14•24 years ago
|
||
Not sure how I can verify this issue so I'm verifying on branch per last comments.
Keywords: vtrunk
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•