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

Check cursor pointers before to use them

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: