Closed
Bug 94135
Opened 23 years ago
Closed 23 years ago
nsPrefBranch::SetComplexValue : rv may be returned uninitialized.
Categories
(Core :: Preferences: Backend, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: mozilla-bugs, Assigned: bnesse)
References
()
Details
If theString is NULL on line 394 of nsPrefBranch.cpp, the nsPrefBranch::SetComplexValue will return an uninitialized rv. It should return an appropriate error value instead.
Assignee | ||
Comment 1•23 years ago
|
||
Yes, and there are other cases which need to handle his as well. See also bug 49776 which pertains to character prefs. I really need to whip up a patch which covers all the sanity checking cases.
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•23 years ago
|
||
I have marked this as blocked by bug 49776 as I am fixing this in that patch, which is doing a fairly widespread bulletproofing of the prefs code.
Assignee | ||
Comment 3•23 years ago
|
||
Fixed by the bulletproofing checkin for Bug 49776.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•