Skip to content

Conversation

@drogin
Copy link
Contributor

@drogin drogin commented Aug 9, 2019

This should likely fix reported issue #14

  • Because we do the write-call before checking the read response, we might try to write with -1 as the array index
  • Additionally, I'm not entirely sure of the purpose of the is.available() call. We presumably want to exhaust and read everything until end of stream anyway? This is where I might be wrong though.

vicmosin added a commit to smoope/clamav-java that referenced this pull request Mar 26, 2020
Fixed potential array out of bounds exception, issue solita#14 solita#16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant