You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Alessandro D'Armiento (Jira)" <ji...@apache.org> on 2019/09/14 13:43:00 UTC

[jira] [Created] (NIFI-6673) Expression language multiply operation doesn't check for overflow

Alessandro D'Armiento created NIFI-6673:
-------------------------------------------

             Summary: Expression language multiply operation doesn't check for overflow
                 Key: NIFI-6673
                 URL: https://issues.apache.org/jira/browse/NIFI-6673
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.9.2
            Reporter: Alessandro D'Armiento
         Attachments: image-2019-09-14-17-38-19-397.png

To reproduce the bug, create a FF with an attribute equals to Long.MAX, then multiply it by 2 to that attribute in a following UpdateAttribute processor. The property will overflow to a negative number without throwing any exception

!image-2019-09-14-17-38-19-397.png!



--
This message was sent by Atlassian Jira
(v8.3.2#803003)