Closed
Bug 507377
Opened 15 years ago
Closed 14 years ago
useless null check of params in nsc_parameter_gen
Categories
(NSS :: Libraries, defect, P5)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.13
People
(Reporter: timeless, Assigned: timeless)
References
()
Details
(Keywords: coverity, Whiteboard: FIPS)
Attachments
(1 file)
883 bytes,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
2838 nsc_parameter_gen(CK_KEY_TYPE key_type, SFTKObject *key) 2871 rv = PQG_ParamGen(j, ¶ms, &vfy); 2873 rv = PQG_ParamGenSeedLen(j,seedBits/8, ¶ms, &vfy); 2876 if (rv != SECSuccess) { 2880 return sftk_MapCryptError(PORT_GetError()); 2882 crv = sftk_AddAttributeType(key,CKA_PRIME, 2883 params->prime.data, params->prime.len); 2902 if (params) {
Updated•15 years ago
|
Severity: enhancement → trivial
Priority: -- → P5
Comment 2•15 years ago
|
||
Comment on attachment 391589 [details] [diff] [review] patch r+ No objection to removal of redundant check, because PQG_DestroyParams won't crash given NULL.
Attachment #391589 -
Flags: review?(nelson) → review+
Comment 4•14 years ago
|
||
softoken/pkcs11c.c; new revision: 1.111.8.1; previous revision: 1.111
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.13
Version: unspecified → trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•