[mythtv-firehose] mythtv/master commit: c29bf5e48 by Stuart Morgan (stuartm)

MythTV noreply at mythtv.org
Sat Aug 20 09:50:24 UTC 2011


      Author:  Stuart Morgan <smorgan at mythtv.org>
 Change Date:  2011-08-20T02:46:08-07:00
   Push Date:  2011/08/20 02:50:18 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  c29bf5e484ed6f81fac7dfe3159303005bbb8907
   Changeset:  https://github.com/MythTV/mythtv/commit/c29bf5e48

Log:

Fix logical error in LiveTVChain::GetEntryAt()

In a zero indexed array, the index must always be less than .size()

In this instance we perform the necessary check a couple of lines
earlier and so this would never have caused an out-of-bounds error,
however the code was still wrong and should be fixed for that reason.

Modified:

   mythtv/libs/libmythtv/livetvchain.cpp



More information about the mythtv-firehose mailing list