You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Arpad Boda (Jira)" <ji...@apache.org> on 2020/02/03 13:15:00 UTC

[jira] [Resolved] (MINIFICPP-1141) Fix unsafe conversion, const correctness and unnecessary includes in Property.h

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

Arpad Boda resolved MINIFICPP-1141.
-----------------------------------
    Resolution: Fixed

> Fix unsafe conversion, const correctness and unnecessary includes in Property.h
> -------------------------------------------------------------------------------
>
>                 Key: MINIFICPP-1141
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1141
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Arpad Boda
>            Assignee: Arpad Boda
>            Priority: Major
>             Fix For: 0.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> std::atol is used, which doesn't handle errors properly.
> The return value (long, which is later converted to int) is also problematic on some platforms. 
> std::stoi should be used instead.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)