Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1426

Check cursor pointers before to use them

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • legacy-1.1.3
    • Affects Version/s: legacy-1.1.2
    • Component/s: None
    • Environment:
      Linux 64 bit

      When the DBClientWithCommands::_legacyCollectionInfo method is used, if the query method return a nullptr, it will be used without any check.

      Same happens also in the DBClientBase::aggregate when talking with a 2.4 server.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            dtreffiletti Danilo Treffiletti
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: