You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hippo (Jira)" <ji...@apache.org> on 2020/08/09 07:41:00 UTC
[jira] [Commented] (BCEL-341) Incorrectly reads and writes class
version <= 45.2 (oak) class file.
[ https://issues.apache.org/jira/browse/BCEL-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173769#comment-17173769 ]
Hippo commented on BCEL-341:
----------------------------
Created a patch here https://github.com/Hippo/commons-bcel/tree/BCEL-341
> Incorrectly reads and writes class version <= 45.2 (oak) class file.
> --------------------------------------------------------------------
>
> Key: BCEL-341
> URL: https://issues.apache.org/jira/browse/BCEL-341
> Project: Commons BCEL
> Issue Type: Bug
> Components: Parser
> Affects Versions: unspecified
> Reporter: Hippo
> Priority: Major
> Labels: easyfix
> Fix For: unspecified
>
>
> Whenever you attempt to parse a class file (version <= 45.2) the parser will crash due to the code attribute's maxStack, maxLocals, and codeLength being half the size.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)