commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-251) Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions
Date Fri, 21 Aug 2015 11:33:45 GMT

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

Sebb commented on BCEL-251:
---------------------------

URL: http://svn.apache.org/r1696944
Log:
BCEL-251 Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions

Modified:
    commons/proper/bcel/trunk/src/changes/changes.xml
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/Constants.java
    commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/verifier/statics/Pass3aVerifier.java


> Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions
> -------------------------------------------------------------------
>
>                 Key: BCEL-251
>                 URL: https://issues.apache.org/jira/browse/BCEL-251
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Sebb
>
> The visitANEWARRAY() method performs the following check:
> {code}
> if (dimensions >= 255){
>     constraintViolated(o, "Not allowed to create an array with more than 255 dimensions.");
> }
> {code}
> That is clearly wrong; it should allow 255 as per the constraint message



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message