[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:05: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
-------------------------------------------------+-------------------------
Comment (by Gary Buhrmaster <gary.buhrmaster@…>):
In [changeset:"3841da58be46cc1f0b915f7b9ef6a894227d8387/mythtv"]:
{{{
#!CommitTicketReference repository="mythtv"
revision="3841da58be46cc1f0b915f7b9ef6a894227d8387"
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>
(cherry picked from commit 18fdd0b3fd02a3c815d9d111277973cd14fa42a1)
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11607#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list