Address CodeQL issues in pack200/unpack200 packages.
authorGary Gregory <garydgregory@gmail.com>
Wed, 9 Feb 2022 02:15:23 +0000 (21:15 -0500)
committerGary Gregory <garydgregory@gmail.com>
Wed, 9 Feb 2022 02:15:23 +0000 (21:15 -0500)
commite03b342b1a514bb5dfed656c5711003e21c93353
treeb7faeac8367172452cfb5ce3ee444ba2113b3851
parent666e787a17e4e7321b70e99e55acf27b6382ab17
Address CodeQL issues in pack200/unpack200 packages.

Throw ArithmeticExceptioninstead of silently overflowing.
src/main/java/org/apache/commons/compress/archivers/dump/TapeInputStream.java
src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStream.java
src/main/java/org/apache/commons/compress/archivers/zip/ExplodingInputStream.java
src/main/java/org/apache/commons/compress/compressors/deflate64/HuffmanDecoder.java
src/main/java/org/apache/commons/compress/utils/ExactMath.java