diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-03-12 00:53:34 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-03-12 00:57:32 +0000 |
commit | ec010777205d923828cf22a59a8f2978210d75a4 (patch) | |
tree | f581ab3a5191620aeec47262c57849c86705546d /translations/monero_ga.ts | |
parent | Merge pull request #6248 (diff) | |
download | monero-ec010777205d923828cf22a59a8f2978210d75a4.tar.xz |
db_lmdb: fix race crash using a stale cursor
If a db resize happened, the txpool meta cursor might be stale,
and was not being renewed when necessary.
It would cause this SEGSEGV:
in mdb_cursor_set ()
in mdb_cursor_get ()
in cryptonote::BlockchainLMDB::get_txpool_tx_blob(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::tx_memory_pool::get_transaction(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const ()
in cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_notify_new_fluffy_block(int, epee::misc_utils::struct_init<cryptonote::NOTIFY_NEW_FLUFFY_BLOCK::request_t>&, cryptonote::cryptonote_connection_context&) ()
Diffstat (limited to 'translations/monero_ga.ts')
0 files changed, 0 insertions, 0 deletions