nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpad Boda (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (MINIFICPP-1141) Fix unsafe conversion, const correctness and unnecessary includes in Property.h
Date Mon, 03 Feb 2020 13:15:00 GMT

     [ 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)

Mime
View raw message