Uploaded image for project: 'Apache Lucy-Clownfish'
  1. Apache Lucy-Clownfish
  2. CLOWNFISH-84

Guarantee nul-terminated arg to strtod in Str_To_F64

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            marvin Marvin Humphrey
            marvin Marvin Humphrey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: