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

Nick Wellnhofer resolved CLOWNFISH-84.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.5.0

> Guarantee nul-terminated arg to strtod in Str_To_F64
> ----------------------------------------------------
>
>                 Key: CLOWNFISH-84
>                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-84
>             Project: Apache Lucy-Clownfish
>          Issue Type: Bug
>          Components: Core
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>             Fix For: 0.5.0
>
>
> As of 0.5.0, Strings consistently lack nul-termination, so usage of `strtod` 
> in `Str_To_F64` needs to be adjusted.  The solution is to copy the string 
> content into a nul-terminated buffer.
> Long term, a more efficient solution would be to craft our own 
> string-to-double conversion routine and replace `strtod`, but that's a lot of 
> work for little benefit right now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to