parseNumberFromString cannot parse floating point numbers with hex base specifiers on Solaris and Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.7.1
    • Component/s: Internal Code
    • Fully Compatible
    • ALL
    • Platforms 13 (04/22/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      See https://github.com/mongodb/mongo/blob/r2.7.1/src/mongo/base/parse_number_test.cpp#L300

      The issue is that the system libraries that parseNumberFromString uses do not correctly parse these values. For example: "0x10.1" is not parseable on these platforms.

      User visible impact:

      • command line parsing
      • JSON parsing
      • other?

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Shaun Verch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: