Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.12
    • Fix Version/s: 1.8
    • Component/s: mod_enum
    • Security Level: public
    • Labels:
      None
    • Environment:
      Microsoft Windows
    • CPU Architecture:
      x86-64
    • Kernel:
      Microsoft Windows
    • Userland:
      Microsoft Windows
    • Distribution:
      Microsoft Windows
    • Distribution Version:
      Microsoft Windows 10, Microsoft Windows 8, Microsoft Windows RT 8, Microsoft Windows 7
    • Compiler:
      Microsoft Visual Studio
    • Compiler Version:
      Visual Studio 2013
    • FreeSWITCH GIT Revision:
      6abf6888d6
    • GIT Master Revision hash::
      b91a0a6f2b2e87819f66b1f68cc099e09c4b36e6
    • Target Version:
      1.8

      Description

      In the load_config function in mod_enum.dll, if data_sz is 0 then the opened HKEY is never closed. This leads to a handle leak on Windows platforms. The solution is simply to move the call to RegCloseKey() outside the if statement.

        Attachments

          Activity

            People

            • Assignee:
              mikej Mike Jerris
              Reporter:
              cjyoung Chris Young
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: