[
https://issues.apache.org/jira/browse/MINIFICPP-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz updated MINIFICPP-1141:
------------------------------------
Fix Version/s: (was: 0.8.0)
0.9.0
> 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.9.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)