Closed Bug 10433 Opened 25 years ago Closed 25 years ago

[crash]invalid fieldset html causes crash

Categories

(Core :: DOM: HTML Parser, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: phillip, Assigned: eric)

References

()

Details

Attachments

(3 files)

Overview Description: on linux, the html to be attatched produces a nice long stack trace, also to be attatched. the problem is putting a label inside a fieldset. Steps to Reproduce: 1) load the attatchement. 2) wait for crash. Actual Results: There is a huge crash. Expected Results: The invalid html should produce undefined results, but the browser should be robust enough not to crash. Build Date & Platform: 1999-07-23-08 build on RedHat 5.2 (Checked both Viewer & Apprunner) Platforms NOT Tested: Win32, MacOS, because i have no access to them today. i will update the platform coverage when i test on them, but i suspect this is cross platform, since it happens while parsing. HTML snippet: <html> <head> <title>hfst000.html</title> </head> <body> text <form> <p> <fieldset><label>this is a label</label> <input>input and stuff </fieldset> </form> </body> </html>
Attached file attacted the same testcase (deleted) —
Attached file and THIS is the testcase. (deleted) —
QA Contact: janc → phillip
cleaning up the qa contact and url fields.
Assignee: rickg → kmcclusk
Kevin -- see the attached stack trace -- I think this is a crash in the legend frame code, which I think is yours.
Assignee: kmcclusk → evaughan
mLegendFrame is null, and it is accessed in nsFieldSetFrame::Reflow. PRInt32 align = ((nsLegendFrame*)mLegendFrame)->GetAlign(); Eric, since you re-implemented the fieldset I'm re-assingning this to you.
phillip, how do Mac and Win look for this?
OS: Linux → All
Hardware: PC → All
MacOS 8.51 crashes hard with build 1999-07-27-08. macsbug is of no help. win98 and nt also crash with 1999-07-27-08. (98 talkback id is 11666937) (nt talkback id is 11666944) the stacktraces are pretty much the same. i'll attatch them if requested.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
verified fixed on 1999-09-14-09-M10 RedHat Linux 6.0 (GNOME/enlightenment) 1999-09-14-09-M10 WinNT 4.0 sp5 1999-09-14-09-M10 MacOS 8.51
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: