Open
Bug 264096
Opened 20 years ago
Updated 8 months ago
check if NSS is initialized before calling NSS functions
Categories
(Core :: Security: PSM, defect, P3)
Tracking
()
NEW
People
(Reporter: ajschult784, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [kerh-coz][psm-backlog])
from bug 263799: ------- Additional Comment #5 From Robert Relyea 2004-10-11 14:07 PDT [reply] ------- In some sense this is a latent bug in the application. It's calling NSS functions even when NSS has not been initialized. Since PK11_LogoutAll has up to this point been accidentally safe, NSS, at the very least, should continue to allow calls to PK11_LogoutAll to occur even if NSS is not initialized (in this case it will continue to be a noop). This will allow bug for bug binary compatibility with previous versions of NSS. I'll attach a patch to make it so.. bob ------- Additional Comment #13 From Robert Relyea 2004-10-11 15:41 PDT [reply] ------- I think it would be a good idea to bracket the calls with if (NSS_IsInitialized()) { } in code fragments that are trying shutdown NSS even if it wasn't already shutdown. bob
Comment 1•20 years ago
|
||
Sounds reasonable and simple to do.
Status: NEW → ASSIGNED
Priority: -- → P2
Updated•19 years ago
|
Whiteboard: [kerh-coz]
Updated•18 years ago
|
QA Contact: ui
Updated•8 years ago
|
Component: Security: UI → Security: PSM
Priority: P2 → P3
Whiteboard: [kerh-coz] → [kerh-coz][psm-backlog]
Comment 4•6 years ago
|
||
No assignee, updating the status.
Comment 5•6 years ago
|
||
No assignee, updating the status.
Comment 6•6 years ago
|
||
No assignee, updating the status.
Updated•2 years ago
|
Severity: normal → S3
Updated•8 months ago
|
Blocks: nss-external
You need to log in
before you can comment on or make changes to this bug.
Description
•