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 14:00:03 UTC

[jira] [Updated] (NIFI-6672) Expression language plus operation doesn't check for overflow

     [ https://issues.apache.org/jira/browse/NIFI-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessandro D'Armiento updated NIFI-6672:
----------------------------------------
    Description: 
To reproduce the bug, create a FF with an attribute equals to Long.MAX, then add 100 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-32-58-740.png!

  was:
To reproduce the bug, create a FF with an attribute equals to Long.MAX, then add 1 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-32-58-740.png!


> Expression language plus operation doesn't check for overflow
> -------------------------------------------------------------
>
>                 Key: NIFI-6672
>                 URL: https://issues.apache.org/jira/browse/NIFI-6672
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.9.2
>            Reporter: Alessandro D'Armiento
>            Priority: Major
>         Attachments: image-2019-09-14-17-32-58-740.png
>
>
> To reproduce the bug, create a FF with an attribute equals to Long.MAX, then add 100 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-32-58-740.png!



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