Closed
Bug 1884276
Opened 2 years ago
Closed 2 years ago
[CID 1592948] illegal access /cmd/lib/basicutil.c: 849 in SECU_ecName2params()
Categories
(NSS :: Tools, defect, P3)
NSS
Tools
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jschanck, Assigned: jschanck)
References
(Regression)
Details
Attachments
(1 file)
*** CID 1592948: Memory - illegal accesses (OVERRUN)
/cmd/lib/basicutil.c: 849 in SECU_ecName2params()
843
844 SECStatus
845 SECU_ecName2params(ECCurveName curve, SECItem *params)
846 {
847 SECOidData *oidData = NULL;
848
>>> CID 1592948: Memory - illegal accesses (OVERRUN)
>>> Overrunning array "ecCurve_oid_map" of 60 4-byte elements at element index 60 (byte offset 243) using index "curve" (which evaluates to 60).
849 if ((curve < ECCurve_noName) || (curve > ECCurve_pastLastCurve) ||
850 ((oidData = SECOID_FindOIDByTag(ecCurve_oid_map[curve])) == NULL)) {
851 PORT_SetError(SEC_ERROR_UNSUPPORTED_ELLIPTIC_CURVE);
852 return SECFailure;
853 }
854
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Regressed by: hacl-eddsa
You need to log in
before you can comment on or make changes to this bug.
Description
•