[
https://issues.apache.org/jira/browse/CLOWNFISH-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233544#comment-15233544
]
ASF GitHub Bot commented on CLOWNFISH-90:
-----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/lucy-clownfish/pull/65
> Unsafe usage of ctype.h functions
> ---------------------------------
>
> Key: CLOWNFISH-90
> URL: https://issues.apache.org/jira/browse/CLOWNFISH-90
> Project: Apache Lucy-Clownfish
> Issue Type: Bug
> Reporter: Nick Wellnhofer
> Assignee: Nick Wellnhofer
>
> From the C99 spec:
> {quote}
> The header <ctype.h> declares several functions useful for classifying and
> mapping characters. In all cases the argument is an int, the value of which
> shall be representable as an unsigned char or shall equal the value of the
> macro EOF. If the argument has any other value, the behavior is undefined.
> The behavior of these functions is affected by the current locale.
> {quote}
> There are many cases where we pass unchecked {{char}} values which might be
> negative.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)