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

ASF GitHub Bot commented on ARTEMIS-986:
----------------------------------------

GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1048

    ARTEMIS-986 fix int overflow

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis ARTEMIS-986

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1048.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 #1048
    
----

----


> Integer overflow in MySQLSQLProvider.java
> -----------------------------------------
>
>                 Key: ARTEMIS-986
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-986
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Jiri Danek
>            Assignee: Justin Bertram
>
> In class {{org.apache.activemq.artemis.jdbc.store.sql.GenericSQLProvider}} in 
> file 
> {{org/apache/activemq/artemis/jdbc/store/drivers/mysql/MySQLSQLProvider.java:24}}
>  there is
> {noformat}
>    private static final int MAX_BLOB_SIZE = 4 * 1024 * 1024 * 1024; // 4GB
> {noformat}
> This numeric constant is overflowing the signed int into which it is being 
> assigned.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to