GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2019
ARTEMIS-1810 JDBCSequentialFileFactoryDriver should check <=0 read length
In order to avoid out of bounds reads to happen, the reading of the file
should avoid those readings to hit the DMBS and just return the expected
value.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-1810
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2019.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2019
----
commit 63c4b5007058e86ad20ed8d23ec100b3ec71ed01
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-04-16T11:20:22Z
ARTEMIS-1810 JDBCSequentialFileFactoryDriver should check <=0 read length
In order to avoid out of bounds reads to happen, the reading of the file
should avoid those readings to hit the DMBS and just return the expected
value.
----
---