[
https://issues.apache.org/jira/browse/DAFFODIL-3088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olabusayo Kilo updated DAFFODIL-3088:
-------------------------------------
Description: Some parsers use Int instead of Longs for bitlength, this can
overflow if we have a length in bits over 4GB. Since we use Long for
getLengthInBits, we should be consistent across all parsers and convert any
bitLength being used to int. (was: Some parsers use Int instead of Longs for
bitlength, this can overflow if we have a length in bits over 4MB. Since we use
Long for getLengthInBits, we should be consistent across all parsers and
convert any bitLength being used to int.)
> Remove Int BitLength from Parsers
> ---------------------------------
>
> Key: DAFFODIL-3088
> URL: https://issues.apache.org/jira/browse/DAFFODIL-3088
> Project: Daffodil
> Issue Type: Bug
> Components: Back End
> Affects Versions: 4.1.0
> Reporter: Olabusayo Kilo
> Priority: Major
>
> Some parsers use Int instead of Longs for bitlength, this can overflow if we
> have a length in bits over 4GB. Since we use Long for getLengthInBits, we
> should be consistent across all parsers and convert any bitLength being used
> to int.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)