Closed Bug 330998 Opened 18 years ago Closed 18 years ago
Crash [@ ns
Layout Utils::Get Float From Placeholder] involving tables, forms, and float
Bob Clary found this bug; I reduced it (with help from Lithium). Filing as security-sensitive because the variation in behavior (see below) and partial stacks in Win2003 Talkback make me worry this is a memory corruption bug. * Windows 2003: TB16554961Z (partial stack) * Windows XP: Instead of crashing, it goes into a screwed-up state (where toolbar buttons don't respond visually to clicks unless the mouse moves during the click, and firefox.exe doesn't exit when I close the last window). * Mac: TB16555048M (full stack)
Summary: Crash [@ nsLayoutUtils::GetFloatFromPlaceholder] invloving tables, forms, and float → Crash [@ nsLayoutUtils::GetFloatFromPlaceholder] involving tables, forms, and float
we hit ###!!! ASSERTION: Null out-of-flow for placeholder?: 'outOfFlow', file d:\moz_src\mozilla\layout\generic\nsPlaceholderFrame.h, line 121
sounds like bug 285727
Still crashes in Mac trunk 2006-04-10. So not fixed by BuildFloatList removal.
Yeah... this is basically bug 285727.... At least it's just a null-dereference (well, virtual function call on NULL, which isn't quite the same thing).
I take that back. GetStyleData is non-virtual when called inside layout. So this is not really a big security issue, imo.
I think even a virtual function call on NULL would not be a security hole, as long as the OS denies access to the entire first page of memory and the object isn't too complicated.
fixed by the patch for bug 285727
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Sounds like this isn't a security problem after all. We should be able to remove the confidential flag, right?
No longer depends on: 282173
Whiteboard: [sg:nse null-deref]
(In reply to comment #11) > Sounds like this isn't a security problem after all. We should be able to > remove the confidential flag, right? > NO! this and all fuzz testing bugs should be confidential until we have a better handle on things.
There wasn't much mention of fuzz-testing in this bug until comment 12 ;) I try to file these bugs with reduced testcases and without mentioning how I found them.
I was going on the blocking bug 306663
Clearing the security flag. It's no secret that we test Firefox, we just don't want to hand over juicy testcases.
Verified fixed, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:18.104.22.168) Gecko/20060829 Firefox/22.214.171.124 Firefox126.96.36.199 still crashes. Verified fixed, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060830 BonEcho/2.0b2
Crashtest checked in.
Crash Signature: [@ nsLayoutUtils::GetFloatFromPlaceholder]
You need to log in before you can comment on or make changes to this bug.