activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martyn Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ARTEMIS-986) Integer overflow in MySQLSQLProvider.java
Date Fri, 10 Mar 2017 13:44:06 GMT

     [ 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)

Mime
View raw message