Closed
Bug 9847
Opened 26 years ago
Closed 26 years ago
[malloc] memory allocation problems - html/forms
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: chofmann, Assigned: pollmann)
References
Details
[malloc] memory allocation problems - html/forms
check bug 8227 for more details on what needs to be done to this code\
s:/mozilla/layout/html/forms/src/nsSelectControlFrame.cpp
Deref-error: "initData", line 442
Deref-error: "initData", line 445
Reporter | ||
Updated•26 years ago
|
Summary: [malloc] memory allocation problems - html/forms
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
Just checked in a fix.
This is a code level fix and can not be verified by running the program.
To verify the fix visit this url and notice that on line 442, the line contains
"if (initData) {"
http://lxr.mozilla.org/seamonkey/source/layout/html/forms/src/nsSelectControlFrame.cpp#442
This checks for a valid pointer before dereferencing it, which eliminates the
bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•