You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2021/03/08 08:36:00 UTC

[jira] [Resolved] (MINIFICPP-1477) StringUtils::trim should pass characters as unsigned char

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

Marton Szasz resolved MINIFICPP-1477.
-------------------------------------
    Fix Version/s: 0.9.0
       Resolution: Fixed

> StringUtils::trim should pass characters as unsigned char
> ---------------------------------------------------------
>
>                 Key: MINIFICPP-1477
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1477
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Bug
>            Reporter: Marton Szasz
>            Assignee: Marton Szasz
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> Characters must be passed as unsigned char or EOF to ctype functions. Currently they can take non-EOF negative values and this results in undefined behavior.



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