Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Dec 2015 08:45:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204956] usr/src/usr.sbin/rpc.ypupdated/update.c:270: resource leak
Message-ID:  <bug-204956-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204956

            Bug ID: 204956
           Summary: usr/src/usr.sbin/rpc.ypupdated/update.c:270: resource
                    leak
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

[usr/src/usr.sbin/rpc.ypupdated/update.c:270]: (error) Resource leak: rf

    rf = fopen(filename, "r");
    if (rf == NULL) {
        return (ERR_READ);
    }
    wf = fopen(tmpname, "w");
    if (wf == NULL) {
        return (ERR_WRITE);
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204956-8>