Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #685 | Validate stringLength in ICC DESC tag to prevent exceptions
Resolved an issue where malformed ICC profiles could cause a StringIndexOutOfBoundsException during DESC tag processing. - Added validation to ensure `stringLength` is non-negative and does not exceed `bytes.length - 12`. - Throws `BufferBoundsException` with a detailed message for invalid cases. - Ensures corrupted ICC profiles are handled gracefully.
- Loading branch information