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

bson_ascii_strtoll can't parse "0 "

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: None
    • Component/s: libbson
    • None

      A zero followed by a space is considered invalid.

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

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

              Created:
              Updated:
              Resolved: