Closed
Bug 90962
Opened 23 years ago
Closed 23 years ago
Crash in Cert Viewer
Categories
(Core Graveyard :: Security: UI, defect, P1)
Tracking
(Not tracked)
psm2.1
People
(Reporter: lord, Assigned: javi)
Details
(Keywords: relnote, Whiteboard: crasher)
Attachments
(2 files)
1.08 KB,
patch
|
Details | Diff | Splinter Review | |
750.16 KB,
application/x-zip-compressed
|
Details |
Talkback: TB32961255E I crashed in the Cert Viewer.
Priority: -- → P1
Whiteboard: crasher
Target Milestone: --- → 2.0
Comment 2•23 years ago
|
||
1. Open the Cert Manager 2. Select ABA.ECOM Root CA from the Authorities Tab 3. Click the 'View' button 4. Click the 'Details' Tab 5. Select 'Certificate Signature Value' under Certificate Fields 6. Select some of the 'Field Values' for 'Certificate Signature Value' 7. Select 'Certificate Signature Algorithm'
Comment 5•23 years ago
|
||
crahs on linux branch 0716200104.0.9.2
Comment 7•23 years ago
|
||
linux talkback is 32962260 and shows the same stack trace as on TB32961255E
Assignee | ||
Comment 8•23 years ago
|
||
Comment 9•23 years ago
|
||
This isn't the right fix for this. Basically this is fixing the symptom, not the problem. Generally this crash is triggered by putting style="overflow:auto" on a <tree/>, which causes it to be put in a nsIScrollableFrame, thus causing the QI to nsITreeFrame to fail. Adding null checks here will subtly break code, not fix it. The real fix is to just not use style="overflow:auto" on a <tree/> (generally used to get scrollbars). Instead, use the attribute rows="X" where X is the number of rows you want visible (min and max) in the tree. Currently this has a (small) bug though where the initial height will be 0 if you begin with an empty tree (<tree/>) and fill in its children through JS later (bug 88138).
Comment 10•23 years ago
|
||
Yes, why on earth is a tree being given a style of overflow: auto? That is nonsensical and meaningless for a tree widget. I don't mind bulletproofing crashes of course, but your tree is going to massively malfunction as long as you've artificially imposed this extra scrolling frame between the tree's parent and the tree itself. In fact, we should add assertions in addition to the returning of the failure codes when the tree frame is null.
Assignee | ||
Comment 12•23 years ago
|
||
This seems like a dup of 85451 *** This bug has been marked as a duplicate of 85451 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 13•23 years ago
|
||
Verified dupe, and the crash is gone, at least from the branch.
Status: RESOLVED → VERIFIED
Comment 14•11 years ago
|
||
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•