Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-969

Unchecked return value in _cbsonmodule.c

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1
    • Affects Version/s: 3.1
    • Component/s: None
    • Labels:
      None

      Only in unreleased code scheduled for 3.1. Found by Coverity scan. The return value from PyObject_Call could be NULL.

      https://github.com/mongodb/mongo-python-driver/blob/master/bson/_cbsonmodule.c#L1914

            Assignee:
            luke.lovett Luke Lovett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: