Summary: | usr/src/bin/sh/mknodes.c:269: 3 * resource leak ? | ||
---|---|---|---|
Product: | Base System | Reporter: | David Binderman <dcb314> |
Component: | misc | Assignee: | Jilles Tjoelker <jilles> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | jilles |
Priority: | --- | Flags: | jilles:
mfc-stable10+
jilles: mfc-stable9- jilles: mfc-stable8- |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any |
Description
David Binderman
2015-12-02 08:16:17 UTC
This is a valid bug. The practical effect is that the program does not check for errors from fclose() on a file that was written to. A commit references this bug: Author: jilles Date: Sun Dec 20 16:40:37 UTC 2015 New revision: 292517 URL: https://svnweb.freebsd.org/changeset/base/292517 Log: sh/mknodes: Close files and check for errors when writing. This is a build tool only and does not affect run time. PR: 204951 MFC after: 1 week Changes: head/bin/sh/mknodes.c A commit references this bug: Author: jilles Date: Sun Dec 27 17:53:39 UTC 2015 New revision: 292786 URL: https://svnweb.freebsd.org/changeset/base/292786 Log: MFC r292517: sh/mknodes: Close files and check for errors when writing. This is a build tool only and does not affect run time. PR: 204951 Changes: _U stable/10/ stable/10/bin/sh/mknodes.c |