mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 00:00:50 +02:00
fix more null derefs
This commit is contained in:
+1
-1
@@ -37201,7 +37201,7 @@ int wc_EccPrivateKeyDecode(const byte* input, word32* inOutIdx, ecc_key* key,
|
||||
key, curve_id);
|
||||
}
|
||||
|
||||
FREE_ASNGETDATA(dataASN, key->heap);
|
||||
FREE_ASNGETDATA(dataASN, key != NULL ? key->heap : NULL);
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user