theobisproject commented on PR #690:
URL: https://github.com/apache/commons-compress/pull/690#issuecomment-3240288702

   Thanks for implementing LHA support. I have done a quick fuzzing run of the 
current implementation and found some files with unexpected exceptions. See the 
attached zip 
[lha-fuzzing.zip](https://github.com/user-attachments/files/22067754/lha-fuzzing.zip).
 There might be duplicated errors in the files.
   
   I used the following code for the fuzz test
   ```java
   try (LhaArchiveInputStream input = new LhaArchiveInputStream(new 
ByteArrayInputStream(data))) {
       LhaArchiveEntry entry;
       while ((entry = input.getNextEntry()) != null) {
           IOUtils.copyLarge(input, NullOutputStream.nullOutputStream());
       }
   } catch (IOException e) {
       // ignore
   }
   ```


-- 
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: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to