Apache OpenOffice (AOO) Bugzilla – Issue 128541
InputStreamToXInputStreamAdapter.readBytes() should read until the buffer is full, or the file ends, not while available() > 0
Last modified: 2022-10-31 09:36:27 UTC
In main/javaunohelper/com/sun/star/lib/uno/adapter/InputStreamToXInputStreamAdapter.java, readBytes() should read until the buffer is full, or the file ends, not while available() > 0.
Fixed by f04910427d25ede98b84b90df7cc5a12d1adc695, resolving fixed.
Cherry-picked for AOO42X with: https://github.com/apache/openoffice/commit/a20732d5433a69623bce465cc72af0ea4a66856f
Cherry-picked for AOO41X with: https://github.com/apache/openoffice/commit/239988383ad44f763e210d38864f46a27e0a9873