Closed
Bug 153757
Opened 23 years ago
Closed 23 years ago
hasAttribute on a HTML label crashes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.0.1
People
(Reporter: rginda, Assigned: jst)
References
Details
(Keywords: crash, Whiteboard: [adt2 RTM] [ETA 06/26])
Attachments
(1 file)
897 bytes,
patch
|
caillon
:
review+
jst
:
superreview+
dbaron
:
approval+
|
Details | Diff | Splinter Review |
#0 0x41ba7e3c in nsHTMLLabelElement::HasAttribute (this=0x8b00d98,
aName=@0x8b46110, aReturn=0xbfffaab0) at nsHTMLLabelElement.cpp:156
155 NS_IMETHOD HasAttribute(const nsAString& aName, PRBool* aReturn) {
156 return HasAttribute(aName, aReturn);
157 }
When called, this method recurses on itself until it blows the stack.
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
Comment on attachment 88868 [details] [diff] [review]
Patch
r=caillon
Attachment #88868 -
Flags: review+
Assignee | ||
Comment 3•23 years ago
|
||
Comment on attachment 88868 [details] [diff] [review]
Patch
Duh!
sr=jst
Attachment #88868 -
Flags: superreview+
Comment 4•23 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 5•23 years ago
|
||
maybe this obvious fix should go on the branch?
Assignee | ||
Comment 6•23 years ago
|
||
Nominating, this is a trivial fix for a guaranteed unconditional crash, there's
no reason to not take this fix AFAICT.
Keywords: adt1.0.1,
mozilla1.0.1
Updated•23 years ago
|
Comment 7•23 years ago
|
||
adding adt1.0.1+. Please get drivers approval before checking into the branch.
Assignee | ||
Comment 8•23 years ago
|
||
drivers approval request sent.
Comment on attachment 88868 [details] [diff] [review]
Patch
Please land this on the 1.0.1 branch. Once there, replace the
"mozilla1.0.1+" keyword with the "fixed1.0.1" keyword.
Attachment #88868 -
Flags: approval+
Keywords: mozilla1.0.1 → mozilla1.0.1+
Updated•23 years ago
|
Keywords: mozilla1.0.1+ → fixed1.0.1
Updated•23 years ago
|
QA Contact: desale → stummala
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•