1
0
Fork 0
forked from lthn/blockchain

added sanitize_utf8 to invoke() in plain_wallet

This commit is contained in:
cryptozoidberg 2025-06-18 22:45:28 +04:00
parent 166b683295
commit 90a4a68eb5
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D

View file

@ -605,6 +605,7 @@ namespace plain_wallet
PLAIN_WALLET_BEGIN_TRY_ENTRY();
GET_INSTANCE_PTR(inst_ptr);
return inst_ptr->gwm.invoke(h, params);
tools::sanitize_utf8(params);
PLAIN_WALLET_CATCH();
}