[mythtv-commits] mythtv branch master updated by dekarl. v0.27-pre2-1232-g63e45d8

Git Repo Owner noreply at mythtv.org
Tue Jun 4 06:52:45 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user dekarl.
       via  63e45d8ed181fb8ef9213fe4f320b11b0ce89943 (commit)
       via  40daef661e872986284567f97a642fc08f7ea792 (commit)
      from  5aea0c9377412607a0c71e7c401f5fc26f31f2f6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63e45d8ed181fb8ef9213fe4f320b11b0ce89943
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Sun, 26 May 2013 22:06:01 +0000
Committer: Karl Dietz <dekarl at mythtv.org> at Tue, 4 Jun 2013 08:49:51 +0200
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=63e45d8ed181fb8ef9213fe4f320b11b0ce89943

Fix static analysis detected error regarding dead assignment
In v4lchannel.cpp, the int field is assigned a value, and
never used before a later assignment.  Move the declaration
and assignment to the code fragment where it is used (as
with some other existing variables).  This resolves the
static analysis detected error.

Fixes #11551



commit 40daef661e872986284567f97a642fc08f7ea792
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Sun, 26 May 2013 20:18:13 +0000
Committer: Karl Dietz <dekarl at mythtv.org> at Tue, 4 Jun 2013 08:48:13 +0200
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=40daef661e872986284567f97a642fc08f7ea792

Apply fix for static analysis (scan-build) detection of a potential security issue (not checking the return value from setuid).
Fixes #11549



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/recorders/v4lchannel.cpp |    4 +---
 mythtv/programs/mythavtest/main.cpp            |    6 +++++-
 mythtv/programs/mythfrontend/main.cpp          |    6 +++++-
 3 files changed, 11 insertions(+), 5 deletions(-)

-- 



More information about the mythtv-commits mailing list