aboutsummaryrefslogtreecommitdiffstats
path: root/rlp/decode_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-09-03 07:37:00 +0800
committerFelix Lange <fjl@twurst.com>2015-09-11 01:12:32 +0800
commitac32f52ca6e620556e7a875f0d52ddef72215532 (patch)
treea4a7ba1514e5a6570b85b27d49e14b3b00996f6c /rlp/decode_test.go
parente2d7c1a52303ebdd8c2956badad5e600bf93ff33 (diff)
downloadgo-tangerine-ac32f52ca6e620556e7a875f0d52ddef72215532.tar.gz
go-tangerine-ac32f52ca6e620556e7a875f0d52ddef72215532.tar.zst
go-tangerine-ac32f52ca6e620556e7a875f0d52ddef72215532.zip
rlp: fix encReader returning nil buffers to the pool
The bug can cause crashes if Read is called after EOF has been returned. No code performs such calls right now, but hitting the bug gets more likely as rlp.EncodeToReader gets used in more places.
Diffstat (limited to 'rlp/decode_test.go')
0 files changed, 0 insertions, 0 deletions