Closed
Bug 396647
Opened 17 years ago
Closed 13 years ago
GetDictionaryStringValue() should check the return value of SetLength()
Categories
(Firefox :: Migration, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: cpearce, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Patch 281128 for Bug 394691 showed up some bad coding in GetDictionaryStringValue() in browser/components/migration/src/nsSafariProfileMigrator.cpp; GetDictionaryStringValue() calls nsAutoTArray::SetLength() without checking to see if it succeeds or not. This patch highlighted some other places where the return value of SetLength() was not checked, we need to track them down and ensure they do sensible things upon failure.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Updated•17 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Migration
Ever confirmed: true
QA Contact: general → migration
Comment 1•13 years ago
|
||
the Safari migrator has been rewritten in js, so this doesn't apply anymore.
You need to log in
before you can comment on or make changes to this bug.
Description
•