Closed Bug 202183 Opened 21 years ago Closed 21 years ago

KeyManager.java passes unchecked pointers to native functions

Categories

(JSS Graveyard :: Library, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

References

Details

KeyManager.java passes pointers to native functions without checking them for
NULL. An application could erroneously pass a NULL to one of these methods and
crash the virtual machine.

The code should check the pointers for NULL and throw a NullPointerException.
This is fixed on the trunk:

mozilla/security/jss/org/mozilla/jss/SecretDecoderRing/KeyManager.java
1.1 --> 1.2
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.3.1
*** Bug 187613 has been marked as a duplicate of this bug. ***
Fixed in 3.4, not 3.3.1.
Target Milestone: 3.3.1 → 3.4
You need to log in before you can comment on or make changes to this bug.