scovich opened a new pull request, #7752: URL: https://github.com/apache/arrow-rs/pull/7752
# Which issue does this PR close? Part of * https://github.com/apache/arrow-rs/issues/6736 # Rationale for this change The variant spec makes frequent use of 4-byte offsets. On a 32-bit system, this can lead to integer overflow panics when doing offset arithmetic on malicious or malformed variant data. That is bad. # What changes are included in this PR? Use checked arithmetic in code that operates on offsets extracted from (untrusted) variant byte buffers. # Are there any user-facing changes? No. -- 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]
