aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/rlpdump
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-23 22:02:55 +0800
committerFelix Lange <fjl@twurst.com>2015-04-17 20:42:41 +0800
commitc35f4fd0bd93bcab01ba7704fc144514a2cc7a1b (patch)
treef83e6627c6e29830907ea1b3f5df17ef064a5f85 /cmd/rlpdump
parent4020258801febb9cb3fc221245812fae07d1f2a5 (diff)
downloadgo-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.gz
go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.zst
go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.zip
rlp: check top-level value sizes against input limit
This is a preliminary fix for #420 (SEC-18 RLP decoder unsafe allocation). If a sane input limit is set on the rlp.Stream, it should no longer be possible to cause huge []byte allocations.
Diffstat (limited to 'cmd/rlpdump')
0 files changed, 0 insertions, 0 deletions