Closed
Bug 430399
Opened 17 years ago
Closed 17 years ago
vfychain -pp crashes
Categories
(NSS :: Tools, defect, P1)
NSS
Tools
Tracking
(Not tracked)
RESOLVED
FIXED
3.12.1
People
(Reporter: nelson, Assigned: nelson)
Details
(Whiteboard: PKIXTEST)
Attachments
(2 files, 1 obsolete file)
2.73 KB,
application/x-zip-compressed
|
Details | |
1.08 KB,
patch
|
alvolkov.bgs
:
review+
|
Details | Diff | Splinter Review |
I have a chain of test certs. 3 certs (EE, intermediate, root CA) in 3 files. If I use the command vfychain -d empty -pvv BridgeUser1cert.der NavyBridgecert.der -t ArmyRoot.der to validate the chain, it crashes. The cause is the same as the cause of bug 428038, namely a crash in cert_pkixDestroyValOutParam when the ValOutParams block has not been initialized to zeros. We do want to fix that in the library, but the patch is not ready. In the mean time, I have a fix for vfychain.c that I will attach. It simply initializes the valOutParams.
Assignee | ||
Updated•17 years ago
|
Priority: -- → P1
Whiteboard: PKIXTEST
Target Milestone: --- → 3.12.1
Assignee | ||
Comment 1•17 years ago
|
||
This patch initializes the structures we pass to CERT_PKIXVerifyCert.
Attachment #317179 -
Flags: review?(alexei.volkov.bugs)
Assignee | ||
Comment 2•17 years ago
|
||
In the above cited command, "empty" is the name of a directory containing an empty cert DB, the result of certutil -d empty -N
Assignee | ||
Comment 3•17 years ago
|
||
Sorry, that was the wrong patch file.
Attachment #317179 -
Attachment is obsolete: true
Attachment #317185 -
Flags: review?(alexei.volkov.bugs)
Attachment #317179 -
Flags: review?(alexei.volkov.bugs)
Updated•17 years ago
|
Attachment #317185 -
Flags: review?(alexei.volkov.bugs) → review+
Assignee | ||
Comment 4•17 years ago
|
||
cmd/vfychain/vfychain.c; new revision: 1.23; previous revision: 1.22
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•