[gnutls-devel] GnuTLS | Add support for loading Ed25519 keys from PKCS#11 and using them (!1200)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Mar 2 09:45:22 CET 2020

Jakub Jelen commented:

The failure in static analyzer looks to me like a false positive:
 pubkey.c:1499:35: warning: Access to field 'data' results in a dereference of a null pointer (loaded from variable 'y')
            (&key->params.params[ECC_Y], y->data, y->size)) {
This is in `gnutls_pubkey_import_ecc_raw()`, which is called only from `gnutls_pubkey_import_ecc_eddsa()` with `GNUTLS_ECC_CURVE_ED25519` curve, which is not going into this branch at all.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1200#note_296847640
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200302/f85428a6/attachment.html>

More information about the Gnutls-devel mailing list