Uploaded image for project: 'OpenDNSSEC'
  1. OpenDNSSEC
  2. OPENDNSSEC-349

Memory leaks found by valgrind

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0b1, 1.3.11
    • Fix Version/s: 1.4.0b2
    • Component/s: Enforcer
    • Labels:
      None

      Description

      Was running valgrind for another thing and found a bunch of memory leaks in the following functions:

      ReadConfig
      getPermsForDrop

      All are basically that xpathObj returned by xmlXPathEvalExpression is not freed. It should be freed even if there is an error return which it is not in any of the functions. Example, line 1026 daemon_util.c, xpathObj is freed inside an if().

        Attachments

          Activity

            People

            Assignee:
            sion Siôn Lloyd
            Reporter:
            jerry Jerry Lundström
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: