[mythtv-commits] Ticket #11607: Patch to close dup2(ed) file descriptor in mythsystemunix.cpp - fixes 1028694
MythTV
noreply at mythtv.org
Wed Sep 18 19:00:45 UTC 2013
#11607: Patch to close dup2(ed) file descriptor in mythsystemunix.cpp - fixes
1028694
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster <gary.buhrmaster@…> | Owner: stuartm
Type: Patch - Bug Fix | Status: closed
Priority: minor | Milestone: 0.27
Component: MythTV - General | Version: Master
Severity: medium | Head
Keywords: | Resolution: fixed
| Ticket locked: 0
-------------------------------------------------+-------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"18fdd0b3fd02a3c815d9d111277973cd14fa42a1/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="18fdd0b3fd02a3c815d9d111277973cd14fa42a1"
Close file descriptor after dup2
Close the file descriptor assgined by open if it
is not the same as the newfd.
Fixes coverity 1028694
Fixes #11607
(It seems likely that coverity will not agree that it is
fixed, since it will not recognize the belt and suspenders
checking of the fd being the value dup'ed to).
Signed-off-by: Stuart Morgan <smorgan at mythtv.org>
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11607#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list