[
https://issues.apache.org/jira/browse/CLOWNFISH-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Wellnhofer resolved CLOWNFISH-90.
--------------------------------------
Resolution: Fixed
Fix Version/s: 0.6.0
Fixed with the following merge:
https://git-wip-us.apache.org/repos/asf?p=lucy-clownfish.git;a=commit;h=e4a94bca5510dd5e11876de3a3918f7d0b7073cd
> 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
> Fix For: 0.6.0
>
>
> 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)