Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
8293734: Improve BMP image handling
Browse files Browse the repository at this point in the history
Reviewed-by: yan
Backport-of: 40959ac32b81c333f04628be227107762b78a7da
  • Loading branch information
Rui Li authored and Yuri Nesterenko committed Jan 16, 2023
1 parent 985bd3c commit 10917e4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -633,8 +633,8 @@ else if (size == 124)

iis.mark();
iis.skipBytes(profileData - size);
byte[] profile = new byte[profileSize];
iis.readFully(profile, 0, profileSize);
byte[] profile = ReaderUtil.
staggeredReadByteStream(iis, profileSize);
iis.reset();

try {
Expand Down

0 comments on commit 10917e4

Please sign in to comment.