Merge pull request #10709

b5f7330 tx_pool: fix use-after-free in prune() - txid was a reference to an item which was later deleted in remove_tx_from_transient_lists(), and txid was used after that (SChernykh)
This commit is contained in:
tobtoht
2026-06-09 17:51:49 +00:00
+1 -1
View File
@@ -419,7 +419,7 @@ namespace cryptonote
break;
try
{
const crypto::hash &txid = it->get_right();
const crypto::hash txid = it->get_right();
txpool_tx_meta_t meta;
if (!m_blockchain.get_txpool_tx_meta(txid, meta))
{