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/02/04 16:04:00 UTC

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

Marton Szasz created MINIFICPP-1477:
---------------------------------------

             Summary: 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


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)