[mythtv-firehose] mythtv branch master updated by stuartm. v0.27-pre2-1138-g516719a

Git Repo Owner noreply at mythtv.org
Wed May 29 10:04:23 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  516719ad7e750a258bd2f72f79eae099f79d303b (commit)
      from  0833b54ea5e5480ed962309076b8f4eb0fc68de1 (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 516719ad7e750a258bd2f72f79eae099f79d303b
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:04:13 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=516719ad7e750a258bd2f72f79eae099f79d303b

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



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

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

-- 



More information about the mythtv-firehose mailing list