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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • 2.7.1
    • None
    • Internal Code
    • Fully Compatible
    • ALL
    • Platforms 13 (04/22/16)

    Description

      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?

      Attachments

        Issue Links

          Activity

            People

              backlog-server-platform DO NOT USE - Backlog - Platform Team
              sverch Shaun Verch
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: