alamb opened a new pull request, #9158: URL: https://github.com/apache/arrow-rs/pull/9158
# Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. --> - closes https://github.com/apache/arrow-rs/issues/9157 # Rationale for this change @jhorstmann found it is possible to bypass utf8 validation by abusing the ArrayData APIs # What changes are included in this PR? 1. Add an assert to prevent the bypass 2. Add tests # Are these changes tested? Yes, new unit tests are added # Are there any user-facing changes? error if APIs are misused -- 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]
