Describe the bug
Error unpacking large file(>2G).
To Reproduce
When unpacking a large file(>2G),The program will report an error.
Expected behavior
I want to be able to unzip large files.
File
If possible, please attach or provide a link to the RAR file.
On line 124 of RandomAccessInputStream.readUntil() function ,the 'length' variable is int, wen the file length is large then Integer.MAX_VALUE, the 'length' variable whill be negative, then the program will not read the content.
Environment (please complete the following information):
- OS: [Windows]
- Junrar version: [7.5.3]
Additional context
Function RandomAccessInputStream.readUntil() put what you read in a vector, when the file is too large may happen OOM.
Describe the bug
Error unpacking large file(>2G).
To Reproduce
When unpacking a large file(>2G),The program will report an error.
Expected behavior
I want to be able to unzip large files.
File
If possible, please attach or provide a link to the RAR file.
On line 124 of RandomAccessInputStream.readUntil() function ,the 'length' variable is int, wen the file length is large then Integer.MAX_VALUE, the 'length' variable whill be negative, then the program will not read the content.
Environment (please complete the following information):
Additional context
Function RandomAccessInputStream.readUntil() put what you read in a vector, when the file is too large may happen OOM.