You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Danek (JIRA)" <ji...@apache.org> on 2017/02/22 12:18:44 UTC

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

Jiri Danek created ARTEMIS-986:
----------------------------------

             Summary: 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


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)