Files
Sebastien Tardif f318c93133 Add size validation for long-to-int casts in buildpack module
Add explicit size checks before casting long values to int in
Content.of(File) and LogUpdateEvent.read() to prevent silent data
corruption or NegativeArraySizeException when processing large files
or malformed Docker stream data.

See gh-50382

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-05-12 11:46:09 -07:00
..