Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14131

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

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

      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:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            sverch Shaun Verch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: