[quake3-bugzilla] [Bug 5439] New: Potential memory leak in host name resolution

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Mar 1 07:41:04 EST 2012


           Summary: Potential memory leak in host name resolution
           Product: ioquake3
           Version: SVN HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: mine at ukr.net
         QAContact: quake3-bugzilla at icculus.org

Created attachment 3089
  --> https://bugzilla.icculus.org/attachment.cgi?id=3089

There is potential memory leak in host name resolution function introduced in
r1813 - where 'search' item was freed instead of 'res' -- 'search' item may
point on last item in linked list so first items may leave allocated
Btw, not sure about unix systems, but calling freeaddrinfo(search) under
windows xp also causes app crash

Configure bugmail: https://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the quake3-bugzilla mailing list