diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-23 22:02:55 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-17 20:42:41 +0800 |
commit | c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b (patch) | |
tree | f83e6627c6e29830907ea1b3f5df17ef064a5f85 /cmd/utils/cmd.go | |
parent | 4020258801febb9cb3fc221245812fae07d1f2a5 (diff) | |
download | go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.gz go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.bz2 go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.lz go-tangerine-c35f4fd0bd93bcab01ba7704fc144514a2cc7a1b.tar.xz 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/utils/cmd.go')
0 files changed, 0 insertions, 0 deletions