diff options
author | Felix Lange <fjl@twurst.com> | 2016-09-29 22:51:32 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-10-03 16:23:56 +0800 |
commit | 968ab8aa4f85649f94352565ac43eb6fe56312ce (patch) | |
tree | 2b6f72535d66a7b92fbc9e7e5000b3b978dba67f /rpc | |
parent | d4608ae0d2fc76ea1ba1d3a97033e60bab1f0d59 (diff) | |
download | go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar.gz go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar.bz2 go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar.lz go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar.xz go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.tar.zst go-tangerine-968ab8aa4f85649f94352565ac43eb6fe56312ce.zip |
[release/1.4.15] trie: fix delete bug for values contained in fullNode
Delete crashed if a fullNode contained a valueNode directly. This bug is
very unlikely to occur with SecureTrie, but can happen with regular
tries. This commit also introduces a randomised test which triggers all
trie operations, which should prevent such bugs in the future.
Credit for finding this bug goes to Github user @rjl493456442.
(cherry picked from commit c3a77d626831b4ffe37ed4f8640e67e70ad5b220)
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions