mirror of
https://github.com/monero-project/monero.git
synced 2026-01-08 03:11:00 -08:00
wallet_rpc_server: fix buffer read overflow in string assignment
This commit is contained in:
@@ -3331,7 +3331,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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user