itext-java
itext-java copied to clipboard
fix possible ArithmeticException
in method com.itextpdf.text.pdf.crypto.ARCFOUREncryption.prepareARCFOURKey
The parameter len is used as a divisor, but it is not checked in advance whether it is zero, and it is likely to trigger ArithmeticException
Additionally, there are no tests included in this PR.