Codebase list libcryptx-perl / 7e0b4c5
fix #64 ECC: segfault on invalid input Karel Miko 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
318318 sv_crv = curve;
319319 }
320320 }
321 else if (SvROK(curve)) {
321 else if (SvROK(curve) && SvTYPE(SvRV(curve)) == SVt_PVHV) {
322322 /* hashref */
323323 sv_crv = curve;
324324 }