alamb opened a new issue, #7842:
URL: https://github.com/apache/arrow-rs/issues/7842

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   - @scovich  added some great changes in 
https://github.com/apache/arrow-rs/pull/7807 to improve the validation APIs in 
variant. 
   
   However, we don't really have much coverage of the validation code 
(specifically validation on input errors).       
   
   **Describe the solution you'd like**
   
   I would like additional coverage of the variant error cases
   
   **Describe alternatives you've considered**
   
   I do think trying to cook up examples of all possible malformed variants is 
probably not a great use of time, but writing a fuzz tester might be
   
   
   > Maybe we could create a fuzz tester that created a random variant using 
the builder, and then randomly changed a few bytes around. -- Then if 
validation succeeded we would walk over the entire variant and verify that the 
infallable APIs didn't panic
   
   I think fuzzing would help a lot, especially with AFL
   
   _Originally posted by @friendlymatthew in 
https://github.com/apache/arrow-rs/issues/7807#issuecomment-3023810475_
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to