Closed Bug 326358 Opened 20 years ago Closed 20 years ago

checking for null mStringBundle is not needed...

Categories

(Core :: Security: PSM, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dougt, Assigned: KaiE)

Details

(Keywords: fixed1.8.1)

Attachments

(1 file)

mozilla/security/manager/boot/src/nsSecureBrowserUIImpl.cpp line ~196 service->CreateBundle(SECURITY_STRING_BUNDLE_URL, getter_AddRefs(mStringBundle)); i do not think we should test for failure after this call because (a) mStringBundle is checked before using (b) it is only used for tooltips (c) returning early causes the init not to complete. I care about this because I reuse this file in my native ssl impl and I do not have the pip jar file for the properties.
Attachment #211102 - Flags: review?
Attachment #211102 - Flags: review? → review+
Comment on attachment 211102 [details] [diff] [review] Patch as described. needed for wince/minimo. low risk.
Attachment #211102 - Flags: branch-1.8.1?
Attachment #211102 - Flags: branch-1.8.1?
Checking in manager/boot/src/nsSecureBrowserUIImpl.cpp; /cvsroot/mozilla/security/manager/boot/src/nsSecureBrowserUIImpl.cpp,v <-- nsSecureBrowserUIImpl.cpp new revision: 1.48.2.5; previous revision: 1.48.2.4 Checking in manager/boot/src/nsSecureBrowserUIImpl.cpp; /cvsroot/mozilla/security/manager/boot/src/nsSecureBrowserUIImpl.cpp,v <-- nsSecureBrowserUIImpl.cpp new revision: 1.55; previous revision: 1.54 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed1.8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: