go-ethereum/rlp
radik878 cf93077fab
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
rlp: finalize listIterator on parse error to prevent non-advancing loops (#33245)
The list iterator previously returned true on parse errors without
advancing the input, which could lead to non-advancing infinite loops
for callers that do not check Err() inside the loop; to make iteration
safe while preserving error visibility, Next() now marks the iterator as
finished when readKind fails, returning true for the error step so
existing users that check Err() can handle it, and then false on
subsequent calls, and the function comment was updated to document this
behavior and the need to check Err().
2025-11-26 11:30:05 +01:00
..
internal/rlpstruct
rlpgen
decode.go rlp: remove workaround for Value.Bytes (#32433) 2025-08-15 14:08:27 +02:00
decode_tail_test.go
decode_test.go rlp: fix typo in decode test message (#32554) 2025-09-09 09:56:53 +08:00
doc.go
encbuffer.go rlp: refactor to use maths.ReadBits (#32432) 2025-08-21 09:37:08 +08:00
encbuffer_example_test.go
encode.go rlp: remove workaround for Value.Bytes (#32433) 2025-08-15 14:08:27 +02:00
encode_test.go rlp: remove duplicate optionalAndTailField test case (#32614) 2025-09-15 16:16:06 +02:00
encoder_example_test.go
iterator.go rlp: finalize listIterator on parse error to prevent non-advancing loops (#33245) 2025-11-26 11:30:05 +01:00
iterator_test.go
raw.go rlp: use reflect.TypeFor (#32317) 2025-08-07 15:58:27 +02:00
raw_test.go
typecache.go