kali834x commented on PR #782:
URL: https://github.com/apache/commons-compress/pull/782#issuecomment-4934289507

   Yes, 0 is legal and common. A 0 count just produces an empty sub-array, e.g. 
class_interface_count is 0 for every class that implements no interfaces, and 
ClassBands feeds those counts straight into decodeBandInt. That's why the guard 
only rejects negatives, same as the existing check in the scalar 
decodeBandInt(..., int) overload.


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