ppkarwasz opened a new pull request, #729:
URL: https://github.com/apache/commons-compress/pull/729

   This change aligns `Folder` parsing with the limits defined in the official 
7-Zip implementation 
([`7zIn.cpp`](https://github.com/ip7z/7zip/blob/main/CPP/7zip/Archive/7z/7zIn.cpp)):
   
   * Maximum coders per folder: **64**
   * Maximum input streams per coder: **64**
   * Maximum output streams per coder: **1**
   * Maximum total input streams per folder: **64**
   
   These bounds are consistent with the reference behavior and are safe because:
   
   * Other 7z implementations use the same or stricter limits.
   * No supported coder uses multiple inputs or outputs.
   * Custom coder definitions are not supported in this implementation.
   
   By enforcing these limits, the parser becomes simpler and more predictable, 
and redundant dynamic size checks can be removed.
   


-- 
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]

Reply via email to