THausherr edited a comment on pull request #82:
URL: https://github.com/apache/pdfbox/pull/82#issuecomment-751366280


   I made some additional changes based on the Sonar report
   - check the length of the read bytes. I'm wondering whether it might happen 
that a valid image has less than 20 bytes, but for now I'll just assume so
   - "& 0xff" when using streamData[1] to avoid "int promotion"
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to