We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method org.dcm4che3.mime.MultipartInputStream.read() incorrectly handles byte to int conversion:
public int read() throws IOException { return isBoundary() ? -1 : buffer[rpos++]; }
The right conversion is:
public int read() throws IOException { return isBoundary() ? -1 : (buffer[rpos++] & 0xff); }
See https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89a19a29bb9f9807d2a28351ed7f7df/src/share/classes/java/io/ByteArrayInputStream.java#L144
Pavel Navrkal
The text was updated successfully, but these errors were encountered:
7edb3e8
Thx!
Sorry, something went wrong.
gunterze
No branches or pull requests
The method org.dcm4che3.mime.MultipartInputStream.read() incorrectly handles byte to int conversion:
The right conversion is:
See https://github.com/openjdk-mirror/jdk7u-jdk/blob/f4d80957e89a19a29bb9f9807d2a28351ed7f7df/src/share/classes/java/io/ByteArrayInputStream.java#L144
Pavel Navrkal
The text was updated successfully, but these errors were encountered: