Closed
Bug 353741
Opened 19 years ago
Closed 19 years ago
klocwork cascading memory leak in mpp_make_prime
Categories
(NSS :: Libraries, defect, P2)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.12
People
(Reporter: nelson, Assigned: alvolkov.bgs)
Details
(Keywords: klocwork, memory-leak)
Attachments
(1 file)
|
1.05 KB,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
Klocwork ID 92773
File nss/lib/freebl/mpi/mpprime.c
Function mpp_make_prime
Memory leak. Dynamic memory stored in 'sieve' allocated through function 'malloc' at line 432 is lost at line 435. Also there is one similar error on line 436.
| Assignee | ||
Comment 1•19 years ago
|
||
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #240985 -
Flags: review?(nelson)
| Reporter | ||
Comment 2•19 years ago
|
||
Comment on attachment 240985 [details] [diff] [review]
check function params before allocation
r=nelson
Attachment #240985 -
Flags: review?(nelson) → review+
| Reporter | ||
Updated•19 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.12
| Assignee | ||
Comment 3•19 years ago
|
||
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpprime.c,v <-- mpprime.c
new revision: 1.23; previous revision: 1.22
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•