For stored ZIP entries, the archive metadata can declare a compressed size that is smaller than the entry's uncompressed size. In this scenario, the reader may reach EOF before consuming the expected amount of data and still report successful completion.
This behavior is inconsistent with the documented completed-read validation contract. A fully drained entry read can succeed even though the entry data is truncated and CRC validation is never performed.
For stored ZIP entries, the archive metadata can declare a compressed size that is smaller than the entry's uncompressed size. In this scenario, the reader may reach EOF before consuming the expected amount of data and still report successful completion.
This behavior is inconsistent with the documented completed-read validation contract. A fully drained entry read can succeed even though the entry data is truncated and CRC validation is never performed.