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 all: fix docstrings 2022-10-04 09:18:02 +02:00
rlpgen rlp/rlpgen: implement package renaming support (#31148) 2025-08-01 18:30:48 +02:00
decode.go rlp: remove workaround for Value.Bytes (#32433) 2025-08-15 14:08:27 +02:00
decode_tail_test.go all: update license information 2016-04-15 09:48:05 +02:00
decode_test.go rlp: fix typo in decode test message (#32554) 2025-09-09 09:56:53 +08:00
doc.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
encbuffer.go rlp: refactor to use maths.ReadBits (#32432) 2025-08-21 09:37:08 +08:00
encbuffer_example_test.go rlp/rlpgen: RLP encoder code generator (#24251) 2022-02-16 18:14:12 +01:00
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 rlp/rlpgen: RLP encoder code generator (#24251) 2022-02-16 18:14:12 +01:00
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 all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
raw.go rlp: use reflect.TypeFor (#32317) 2025-08-07 15:58:27 +02:00
raw_test.go rlp: improve tests for Split functions (#26200) 2022-11-17 14:19:03 +01:00
typecache.go rlp: using maps.Clone (#29434) 2024-04-02 10:47:15 +02:00