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

Accept NULL endptr in bson_ascii_strtoll()

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 1.4.0
    • Affects Version/s: 1.3.5
    • Component/s: libbson
    • None

      strtoll(3) allows NULL for its second argument, making (endptr assignment optional. I propose allowing bson_ascii_strtoll() to do the same for consistency.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: