etseidl opened a new issue, #12545: URL: https://github.com/apache/arrow-rs/issues/12545
### Describe the bug This is a follow up from #12474, which added checking to `read_vlq`. `skip_vlq` should also error when too many bytes are consumed. ### To Reproduce A string of 9 bytes with the continuation bit (`0x80`) set followed by a byte with a value > 1 is an invalid VLQ. `skip_vlq` currently will continue reading until a byte with the continuation bit unset is encountered. ### Expected behavior `skip_vlq` should error upon encountering malformed/illegal values. ### Additional context _No response_ ### Willingness to contribute I plan to contribute a fix for this bug independently -- 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]
