Closed azzaouit closed 2 months ago
The function eddsa_online_signing_service::get_eddsa_signature dereferences a null pointer.
eddsa_online_signing_service::get_eddsa_signature
my_s
NULL
memcmp
318
data.signers_ids
332
my_id
Modified test case to show this here
Thank you for the report, I believe commit 6e9eb06c6555f356b362ab259eef0ffbe2e2d78a should resolve this.
The function
eddsa_online_signing_service::get_eddsa_signature
dereferences a null pointer.my_s
toNULL
memcmp
on line 344 dereferencesmy_s
my_s
will be NULL and the eddsa online signing service will crash.How to trigger
318
is false (i.e.data.signers_ids
is empty)332
never executes (i.e.my_id
is not a data signer)Modified test case to show this here