Closed Bug 90962 Opened 23 years ago Closed 23 years ago

Crash in Cert Viewer

Categories

(Core Graveyard :: Security: UI, defect, P1)

1.0 Branch
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 85451
psm2.1

People

(Reporter: lord, Assigned: javi)

Details

(Keywords: relnote, Whiteboard: crasher)

Attachments

(2 files)

Talkback: TB32961255E

I crashed in the Cert Viewer.
Priority: -- → P1
Whiteboard: crasher
Target Milestone: --- → 2.0
-> ddrinan
Assignee: ssaux → ddrinan
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' 
Walker's script does indeed crash for me on Win2K.
Re-assigning to Javi.
Assignee: ddrinan → javi
crahs on linux branch 0716200104.0.9.2
Changing platform to all.
OS: Windows 2000 → All
Hardware: PC → All
linux talkback is 32962260 and shows the same stack trace as on TB32961255E

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).
Keywords: relnote
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.
target->2.1
Target Milestone: 2.0 → 2.1
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
Verified dupe, and the crash is gone, at least from the branch.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Version: psm2.0 → 1.0 Branch
Attached file bluetooth.zip
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: