Closed Bug 336972 Opened 19 years ago Closed 19 years ago

Coverity OOM crash [@ PK11_ImportDERPrivateKeyInfoAndReturnKey] "pki" Pointer allocated by PORT_NewArena dereferenced without NULL check

Categories

(NSS :: Libraries, defect, P2)

3.11
All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.11.2

People

(Reporter: timeless, Assigned: alvolkov.bgs)

References

()

Details

(Keywords: coverity, crash, Whiteboard: [CID 529 621])

Crash Data

Attachments

(1 file)

Attached patch deal w/ oomSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #221185 - Flags: review?(nelson)
Event returned_null: Function "PORT_NewArena" returned NULL value (checked 219 out of 231 times) [model]
Comment on attachment 221185 [details] [diff] [review] deal w/ oom r=nelson. I'll ask Alexei to commit this. Thanks.
Attachment #221185 - Flags: review?(nelson) → review+
Hardware: PC → All
Target Milestone: --- → 3.11.2
Priority: -- → P2
trunk /cvsroot/mozilla/security/nss/lib/pk11wrap/pk11pk12.c,v <-- pk11pk12.c new revision: 1.11; previous revision: 1.10 3.11 branch /cvsroot/mozilla/security/nss/lib/pk11wrap/pk11pk12.c,v <-- pk11pk12.c new revision: 1.10.28.1; previous revision: 1.10
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee: timeless → alexei.volkov.bugs
Attachment #221185 - Flags: review+
CID 621 & 529
Whiteboard: [CID 529 621]
Summary: OOM crash [@ PK11_ImportDERPrivateKeyInfoAndReturnKey] "pki" Pointer allocated by PORT_NewArena dereferenced without NULL check → Coverity OOM crash [@ PK11_ImportDERPrivateKeyInfoAndReturnKey] "pki" Pointer allocated by PORT_NewArena dereferenced without NULL check
Crash Signature: [@ PK11_ImportDERPrivateKeyInfoAndReturnKey]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: