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.
Created attachment 240985 [details] [diff] [review] check function params before allocation
Assignee: nobody → alexei.volkov.bugs
Status: NEW → ASSIGNED
Attachment #240985 - Flags: review?(nelson)
Comment on attachment 240985 [details] [diff] [review] check function params before allocation r=nelson
Attachment #240985 - Flags: review?(nelson) → review+
Priority: -- → P2
Target Milestone: --- → 3.12
/cvsroot/mozilla/security/nss/lib/freebl/mpi/mpprime.c,v <-- mpprime.c new revision: 1.23; previous revision: 1.22
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.