Should eliminate usage of malloc/strdup/strndup etc

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 3.1.7
    • Component/s: Internal Code
    • None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: