martin-g opened a new pull request, #643:
URL: https://github.com/apache/avro-rs/pull/643

   After decompression, if the declared count exceeds the number of bytes 
actually in the block (only possible when some datums are zero-width, e.g. 
schema "null"), the count itself must pass safe_collection_len::<Value> — i.e. 
the number of conjurable-from-nothing objects is bounded by the allocation 
budget (~16-21M at the 512MB default) instead of being trusted. Counts backed 
by at least one byte per object are unchanged, and the existing :209 guard 
still errors when a non-empty buffer yields a zero-consumption decode.
   
   Reported-by: Security scans


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to