You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Martyn Taylor (JIRA)" <ji...@apache.org> on 2017/03/10 13:44:06 UTC

[jira] [Resolved] (ARTEMIS-986) Integer overflow in MySQLSQLProvider.java

     [ https://issues.apache.org/jira/browse/ARTEMIS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martyn Taylor resolved ARTEMIS-986.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.5.4

> 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
>             Fix For: 1.5.4, 2.0.0
>
>
> 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)