Closed
Bug 289819
Opened 19 years ago
Closed 19 years ago
certutil -A reports extension not found if file has extra data
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.10
People
(Reporter: nelson, Assigned: nelson)
Details
Attachments
(2 files)
1.38 KB,
patch
|
julien.pierre
:
review+
wtc
:
superreview+
|
Details | Diff | Splinter Review |
635 bytes,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
We've had numerous bugs against NSS since 3.0, all of which complained that they get error SEC_ERROR_EXTENSION_NOT_FOUND in inappropriate circumstances. The first such error filed (that I can find) was bug 51559. Here's another one. Create a file that contains a DER-encoded cert but also has some extra cruft in the file after the cert. bug 289817 documents one way of creating such a file. Then try to import this cert with certutil -A. The import will fail, reporting error "extension not found", which is wrong. The problem is yet-another place that fails to set the appropriate error code. Patch forthcoming.
Assignee | ||
Comment 1•19 years ago
|
||
Assignee | ||
Updated•19 years ago
|
Attachment #180315 -
Flags: review?(julien.pierre.bugs)
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 3.10
Updated•19 years ago
|
Attachment #180315 -
Flags: review?(julien.pierre.bugs) → review+
Assignee | ||
Comment 2•19 years ago
|
||
Checking in certread.c; new revision: 1.10; previous revision: 1.9 Thanks for the review.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 3•19 years ago
|
||
Attachment #180385 -
Flags: review?(nelson)
Updated•19 years ago
|
Attachment #180315 -
Flags: superreview+
Assignee | ||
Comment 4•19 years ago
|
||
Comment on attachment 180385 [details] [diff] [review] Fix a typo in the SEC_ERROR_EXTRA_INPUT error message good catch, Wan-Teh.
Attachment #180385 -
Flags: review?(nelson) → review+
Comment 5•19 years ago
|
||
Comment on attachment 180385 [details] [diff] [review] Fix a typo in the SEC_ERROR_EXTRA_INPUT error message Fix checked in on NSS tip for NSS 3.10. Checking in SECerrs.h; /cvsroot/mozilla/security/nss/cmd/lib/SECerrs.h,v <-- SECerrs.h new revision: 1.11; previous revision: 1.10 done Also fixed in the SSL Reference. Checking in sslerr.html; /cvsroot/mozilla-org/html/projects/security/pki/nss/ref/ssl/sslerr.html,v <-- sslerr.html new revision: 1.12; previous revision: 1.11 done
You need to log in
before you can comment on or make changes to this bug.
Description
•