Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20244

Should eliminate usage of malloc/strdup/strndup etc

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • 3.1.7
    • Internal Code
    • None
    • Storage Execution

    Description

      Remove the remaining few uses of these, and add a linter check (or preferably clang-tidy or so) that will verify no new uses are introduced.

      Memory should only be allocated through "new" or otherwise mongoMalloc, but never with plain malloc() or other functions calling it, such as strdup.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: