Date: Mon, 24 Aug 2009 10:17:00 GMT From: Patroklos Argyroudis <argp@census-labs.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/138130: Resource leak in LibAliasRefreshModules() in file sys/netinet/libalias/alias.c Message-ID: <200908241017.n7OAH0rk075056@www.freebsd.org> Resent-Message-ID: <200908241020.n7OAK1TL096327@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138130 >Category: kern >Synopsis: Resource leak in LibAliasRefreshModules() in file sys/netinet/libalias/alias.c >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 24 10:20:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Patroklos Argyroudis >Release: 7.2 >Organization: census, inc >Environment: FreeBSD julius.localdomain 7.2-RELEASE FreeBSD 7.2-RELEASE #25: Thu May 7 18:55:24 UTC 2009 root@julius.localdomain:/usr/obj/usr/src/sys/JULIUS i386 >Description: In function LibAliasRefreshModules() in file sys/netinet/libalias/alias.c there is a resource leak of stream fd. Although the stream is initialized (line 1561), it is never closed. >How-To-Repeat: N/A >Fix: 1581 } 1582 } 1583 fclose(fd); 1584 return (0); 1585 } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908241017.n7OAH0rk075056>