Description
The TarFileStructureProvider utility utilizes historical archive stream parsing logic derived
from standard header reading algorithms (TarEntry).
While processing a .tar.gz payload sequentially during File -> Import -> Existing Projects into Workspace,
the loop crashes if a single file within the project structure has a file size exceeding 2 GB.
The wizard finishes execution gracefully without displaying error warnings to the end-user,
while abandoning all remaining files.
Steps to Reproduce:
- Create an empty Eclipse project.
- In a terminal, populate the project folder structure sequentially with three files:
01_start.txt (0 bytes)
02_large_file_3GB.bin
03_end.txt (0 bytes)
- Refresh the project hierarchy in Eclipse (F5), then export via General -> Archive File into a .tar.gz.
- Delete the workspace project.
- Attempt to map the project back into the IDE using Existing Projects into Workspace selecting the newly compiled .tar.gz.
Actual Result:
01_start.txt is successfully imported. The wizard stops on 02_large_file.bin and finishes without throwing an exception. 03_end.txt is also missing from the final workspace project.
Eclipse Version
All versions utilizing the internal TarFileStructureProvider stream reader loops.
(Verified with version: 4.36.0.v20250528-2229)
Environment:
Verified on Linux
Description
The TarFileStructureProvider utility utilizes historical archive stream parsing logic derived
from standard header reading algorithms (TarEntry).
While processing a .tar.gz payload sequentially during File -> Import -> Existing Projects into Workspace,
the loop crashes if a single file within the project structure has a file size exceeding 2 GB.
The wizard finishes execution gracefully without displaying error warnings to the end-user,
while abandoning all remaining files.
Steps to Reproduce:
01_start.txt (0 bytes)
02_large_file_3GB.bin
03_end.txt (0 bytes)
Actual Result:
01_start.txt is successfully imported. The wizard stops on 02_large_file.bin and finishes without throwing an exception. 03_end.txt is also missing from the final workspace project.
Eclipse Version
All versions utilizing the internal TarFileStructureProvider stream reader loops.
(Verified with version: 4.36.0.v20250528-2229)
Environment:
Verified on Linux