Closed
Bug 341115
Opened 18 years ago
Closed 18 years ago
Multiple NULL ptr dereferences in nss/lib/base/arena.c
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.11.3
People
(Reporter: nelson, Assigned: alvolkov.bgs)
Details
(Keywords: coverity, Whiteboard: [CID 290 291 292 293])
Attachments
(1 file)
3.17 KB,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
All these errors are in nss/lib/base/arena.c
CID 293
nssArena_Destroy uses a pointer and then checks it for NULL.
523 PR_Lock(arena->lock);
524 if( (PRLock *)NULL == arena->lock ) {
CID 291
nssArena_Mark does the same thing
588 PR_Lock(arena->lock);
589 if( (PRLock *)NULL == arena->lock ) {
CID 292
nss_ZAlloc does the same thing
911 PR_Lock(arenaOpt->lock);
912 if( (PRLock *)NULL == arenaOpt->lock ) {
CID 290
nss_arena_unmark_release does the same thing
671 PR_Lock(arena->lock);
672 if( (PRLock *)NULL == arena->lock ) {
Reporter | ||
Updated•18 years ago
|
Priority: -- → P2
Whiteboard: [CID 290 291 292 293]
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #226524 -
Flags: review?(nelson)
Reporter | ||
Comment 2•18 years ago
|
||
Comment on attachment 226524 [details] [diff] [review]
fix
r=nelson
Attachment #226524 -
Flags: review?(nelson) → review+
Assignee | ||
Comment 3•18 years ago
|
||
tip:
new revision: 1.9; previous revision: 1.8
3.11 branch:
new revision: 1.8.28.1; previous revision: 1.8
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•