[mythtv-firehose] mythtv branch master updated by paulh. v30-Pre-257-gaf9f320

Git Repo Owner noreply at mythtv.org
Sun Oct 29 10:21:51 UTC 2017

The branch, master has been updated on the
mythtv repository by gitolite user paulh.
       via  af9f320660e3b07bd7ca4d05c247b836f4acbab9 (commit)
      from  7f1665d9c173d7349330bc709884c65a8ce840f9 (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 af9f320660e3b07bd7ca4d05c247b836f4acbab9
Author:    Paul Harrison <pharrison at mythtv.org> at Sun, 29 Oct 2017 10:21:21 +0000
Committer: Paul Harrison <pharrison at mythtv.org> at Sun, 29 Oct 2017 10:21:21 +0000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=af9f320660e3b07bd7ca4d05c247b836f4acbab9

RecorderBase: fix Coverity ID 1420182 Unchecked dynamic_cast
If the dynamic_cast fails, a null pointer dereference will occur; if the
dynamic_cast cannot fail, using static_cast instead offers better performance.

In RecorderBase::CreateRecorder(TVRec *, ChannelBase *, RecordingProfile const &,
GeneralDBOptions const &): Dynamic_cast may fail and return null if the type cast
is incompatible.


Summary of changes:
 mythtv/libs/libmythtv/recorders/recorderbase.cpp |   56 +++++++++++++---------
 1 files changed, 33 insertions(+), 23 deletions(-)


More information about the mythtv-firehose mailing list