Skip to content
Permalink
Browse files

wallet_rpc_server: fix buffer read overflow in string assignment

  • Loading branch information...
moneromooo-monero committed Mar 15, 2019
1 parent c88e992 commit 4ee156556dfbb27fa460749bf7ae15a9df904ede
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/wallet/wallet_rpc_server.cpp
@@ -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)
{

0 comments on commit 4ee1565

Please sign in to comment.
You can’t perform that action at this time.