aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/peer.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-11-17 00:11:26 +0800
committerFelix Lange <fjl@twurst.com>2015-11-17 16:51:59 +0800
commit1b29aed1283bd050ac7b782b352a7c87d88d82ab (patch)
tree793718628b9f37600532809b4af77be7405517eb /p2p/peer.go
parent9422eec55460aaca300cabd52124ed0cbd8dedd3 (diff)
downloadgo-tangerine-1b29aed1283bd050ac7b782b352a7c87d88d82ab.tar.gz
go-tangerine-1b29aed1283bd050ac7b782b352a7c87d88d82ab.tar.zst
go-tangerine-1b29aed1283bd050ac7b782b352a7c87d88d82ab.zip
crypto/secp256k1: verify recovery ID before calling libsecp256k1
The C library treats the recovery ID as trusted input and crashes the process for invalid values, so it needs to be verified before calling into C. This will inhibit the crash in #1983. Also remove VerifySignature because we don't use it.
Diffstat (limited to 'p2p/peer.go')
0 files changed, 0 insertions, 0 deletions