FedP2P/peer_protocol
Matt Joiner abb5cbc96e
Check for chunks overflowing piece bounds on request read
Test for integer overflow in when checking read requests are within the bounds of the associated piece. Another fix is required to limit the amount of memory that can be allocated for such requests.
2023-02-13 23:27:15 +11:00
..
compactip.go Make extended handshake a struct, and move a bunch of extended stuff into peer_protocol 2018-07-10 12:20:36 +10:00
decoder.go Apply some lints from GoLand 2021-10-07 09:12:17 +11:00
decoder_test.go Fix scheduling overhead in decoding benchmark 2021-09-30 11:52:50 +10:00
extended.go Add some fuzzing in peer_protocol 2021-09-30 09:01:10 +10:00
fuzz_test.go [fuzz] Put +build tags to support go1.16 as well 2021-11-01 11:26:58 +11:00
handshake.go gofumpt -extra 2021-12-23 14:00:00 +11:00
int.go Check for chunks overflowing piece bounds on request read 2023-02-13 23:27:15 +11:00
messagetype_string.go Add linter CI (#542) 2021-08-16 11:11:31 +10:00
metadata.go Add explicit metadata extension types 2021-06-21 12:14:06 +10:00
msg.go Try to avoid allocating buffer 2021-09-30 09:45:50 +10:00
pex.go gorond ./... 2022-11-15 23:31:27 +11:00
pex_test.go Use bytes.Reader instead of bytes.Buffer in a few places 2021-05-05 15:48:57 +10:00
protocol.go Add some fuzzing in peer_protocol 2021-09-30 09:01:10 +10:00
protocol_test.go More optimizations in peer protocol message decoding 2021-09-30 11:05:01 +10:00
reqspec.go Fix peer_protocol.Message.RequestSpec for Type Piece 2018-07-13 21:33:21 +10:00