This is an automated email from the ASF dual-hosted git repository.
martin-g pushed a change to branch recursion-depth-check-decoding-deserializing
in repository https://gitbox.apache.org/repos/asf/avro-rs.git
omit 0fe84cd fix: No recursion depth limit in decode_internal /
resolve_internal / serde deserializer
omit 08c5625 fix: Fixed-schema decode allocates attacker-chosen size with
no budget check
omit fecaf4b fix: Nested collections multiply the 512MB allocation budget
arbitrarily
add b077a56 chore(tests): Drop usage of better-panic crate in
apache_avro_test_helper (#638)
add dbd591c fix: Nested collections multiply the 512MB allocation budget
arbitrarily
add 9b78b1c Inline the instantiation of DecodeContext as a parameter
add 90e7ef4 Update docs and comments
add b03f749 Rename DecodeContext::debit() to debit_bytes()
add 5a7bb4a Assert the expected error
add be4d0f4 fix: Fixed-schema decode allocates attacker-chosen size with
no budget check
add 11013a3 Do not check the size of Fixed schema while parsing
add a965dd4 fix: No recursion depth limit in decode_internal /
resolve_internal / serde deserializer
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (0fe84cd)
\
N -- N -- N
refs/heads/recursion-depth-check-decoding-deserializing (a965dd4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
Cargo.lock | 162 +--------------------------------------
avro/src/decode.rs | 91 ++++++++++++----------
avro/src/reader/block.rs | 3 +-
avro/src/reader/datum.rs | 3 +-
avro/src/reader/single_object.rs | 3 +-
avro/src/schema/parser.rs | 5 --
avro_test_helper/Cargo.toml | 1 -
avro_test_helper/src/lib.rs | 7 --
8 files changed, 56 insertions(+), 219 deletions(-)