Check cursor pointers before to use them

XMLWordPrintableJSON

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

      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
              Reporter:
              Danilo Treffiletti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: