mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #5299
4ee15655
wallet_rpc_server: fix buffer read overflow in string assignment (moneromooo-monero)
This commit is contained in:
commit
b09f1bdb8f
@ -3522,7 +3522,7 @@ namespace tools
|
||||
er.message = "Failed to encode seed";
|
||||
return false;
|
||||
}
|
||||
res.seed = electrum_words.data();
|
||||
res.seed = std::string(electrum_words.data(), electrum_words.size());
|
||||
|
||||
if (!wal)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user