[mythtv-commits] mythtv branch fixes/0.26 updated by stuartm. v0.26.0-169-g7e4295f

Git Repo Owner noreply at mythtv.org
Wed May 29 10:06:56 UTC 2013


The branch, fixes/0.26 has been updated on the
mythtv repository by gitolite user stuartm.
       via  7e4295f463d5ef9b96354892a85b52b82353e7f5 (commit)
      from  5311b3fb45ba68a53c459e131582797495a8c463 (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 7e4295f463d5ef9b96354892a85b52b82353e7f5
Author:    Stuart Morgan <smorgan at mythtv.org> at Wed, 29 May 2013 10:51:10 +0100
Committer: Stuart Morgan <smorgan at mythtv.org> at Wed, 29 May 2013 11:06:09 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=7e4295f463d5ef9b96354892a85b52b82353e7f5

Potentially fix segfaults on frontend startup
In nvctrl-util's GetNvidiaRates():
Initialise buf values to NULL, reduce it's size from 256 to 8 since
we're only interested in the first 8 tokens and actually check that we
parsed all 8 from the string before proceeding to use them.

While here change logging from VB_PLAYBACK to VB_GUI which makes more sense.

This may fix some frontend startup segfaults experienced by some
people since we ended up using an area of uninitialised memory in
strtol.

Coverity 746855
(cherry picked from commit 516719ad7e750a258bd2f72f79eae099f79d303b)



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

Summary of changes:
 mythtv/libs/libmythui/util-nvctrl.cpp |   27 +++++++++++++++++++--------
 1 files changed, 19 insertions(+), 8 deletions(-)

-- 



More information about the mythtv-commits mailing list