Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1083

bson_ascii_strtoll can't parse "0 "

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.4.0
    • None
    • libbson
    • None

    Description

      A zero followed by a space is considered invalid.

      /* sets errno to EINVAL */
      bson_ascii_strtoll ("0 ", *endptr, 10);
      

      Attachments

        Activity

          People

            jesse@mongodb.com A. Jesse Jiryu Davis
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: