arvindKandpal-ksolves opened a new pull request, #4604: URL: https://github.com/apache/cassandra/pull/4604
Fix VerifyTest failure due to unhandled IndexOutOfBoundsException in LZ4Compressor The recent replacement of org.lz4 with at.yawk.lz4 (to address CVE-2025-12183) changed the behavior during decompression of corrupt data. The new safe implementation throws IndexOutOfBoundsException instead of LZ4Exception when reading past array limits. This caused `VerifyTest#testVerifyCorruptRowCorrectDigest` to fail because the test expects an IOException (indicating corruption) but received an unhandled RuntimeException. This patch updates LZ4Compressor to catch IndexOutOfBoundsException alongside LZ4Exception and wrap it in an IOException, restoring the correct corruption detection behavior. patch by Arvind Kandpal; reviewed by TBD for CASSANDRA-21150 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

