KitFieldhouse opened a new pull request, #542:
URL: https://github.com/apache/avro-rs/pull/542

   Hey all,
   
   I noticed that the method `resolve_fixed`  with a `Value::String` will 
ignore the `size`  of the `Schema::Fixed` and will simply accept whatever sized 
string is provided, even if its actually too long for the provided fixed.
   
   This fix modifies `resolve_fixed` so that it checks the size of the string 
and rejects if its too long for the `Schema::Fixed`. In addition, if too short 
of a string is supplied, it is zero padded to the required length.


-- 
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