Closed
Bug 231566
Opened 21 years ago
Closed 21 years ago
pk12util erroneously reports error -8173, no memory
Categories
(NSS :: Tools, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.9.1
People
(Reporter: nelson, Assigned: nelson)
Details
Attachments
(1 file)
4.88 KB,
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
Emil Assarsson had some trouble with pk12util. He did some debugging, and
wrote:
> I have a problem with some allocation errors in SEC_PKCS12AddCertAndKey().
> I have the same error if I use SEC_PKCS12CreatePasswordPrivSafe().
>
> I get a return value != SECSuccess and the PR_GetError() is returning a
> -8173 (SEC_ERROR_NO_MEMORY).
> Is this related to the arena from the ExportContext?
> And what can I do about it?
I looked into it, and found several bugs in pk12util that cause wrong error
messages to be shown. I also found several misnamed functions, and found
that the Usage message was not being displayed when it should be.
Patch forthcoming.
Assignee | ||
Comment 1•21 years ago
|
||
Fixes problems reported above.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 139488 [details] [diff] [review]
patch v1
Bob, please review
Attachment #139488 -
Flags: review?(rrelyea0264)
Updated•21 years ago
|
Attachment #139488 -
Flags: review?(rrelyea0264) → review+
Assignee | ||
Comment 4•21 years ago
|
||
/cvsroot/mozilla/security/nss/cmd/pk12util/pk12util.c,v <-- pk12util.c
new revision: 1.28; previous revision: 1.27
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•