[ 
https://issues.apache.org/jira/browse/ARTEMIS-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240716#comment-16240716
 ] 

ASF subversion and git services commented on ARTEMIS-1471:
----------------------------------------------------------

Commit 3950169c21d97538708320ef29a7f5bab279a50f in activemq-artemis's branch 
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=3950169 ]

ARTEMIS-1471 Needs Bounds Checking on writes for MappedSequentialFile

The MappedSequentialFile relies on the assumption that any writers
won't exceed the maximum capacity of the file, leaving the JVM to crash 
otherwise.
This commit adds proper bounds checking on write operations (and position 
changes too)
in order to provide recoverable effects if such scenario should occour.
In addition are provided minor fixes on Mapped and Nio SequentialFile::fill 
behaviour
to match the original contract.


> Needs Bounds Checking on writes for MappedSequentialFile
> --------------------------------------------------------
>
>                 Key: ARTEMIS-1471
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1471
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Trivial
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to