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)

Reply via email to