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

Potential leaks in JSON parser

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: json
    • Labels:
      None

      There are bson_init calls not paired with bson_destroy calls when parsing a few JSON types like DBPointer and code with scope. If the contents of these JSON objects exceed 120 bytes, the JSON parser will allocate a buffer that it does not free.

            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: