Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-354

Memory Allocation

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: N/A
    • Labels:
      None

      Description

      Currently the approach for dealing with memory allocation errors varies; some functions assume malloc and realloc can fail, others that they always will succeed, and most functions assume strdup will always succeed.

      The policy needs to be clearly defined and thereafter the usage throughout MaxScale must be modified to adhere to it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              johan.wikman Johan Wikman
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: