mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-21 16:19:42 +00:00
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>