[mythtv-commits] Ticket #13263: Crash in ProgramMapTable::Create

MythTV noreply at mythtv.org
Wed May 9 01:48:13 UTC 2018


#13263: Crash in ProgramMapTable::Create
--------------------------------+------------------------------------------
 Reporter:  Gary Buhrmaster     |          Owner:  David Hampton <mythtv@…>
     Type:  Bug Report - Crash  |         Status:  closed
 Priority:  minor               |      Milestone:  unknown
Component:  MythTV - General    |        Version:  Unspecified
 Severity:  medium              |     Resolution:  fixed
 Keywords:  gcc8                |  Ticket locked:  0
--------------------------------+------------------------------------------
Changes (by David Hampton <mythtv@…>):

 * owner:  (none) => David Hampton <mythtv@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7f00642ba11eb0d9d633a23ce74e5b695c05153e/mythtv"
 7f00642ba1/mythtv]:
 {{{
 #!CommitTicketReference repository="mythtv"
 revision="7f00642ba11eb0d9d633a23ce74e5b695c05153e"
 Fix crash in ProgramMapTable::Create

 Abort in libmythtv due to accessing beyond the size of the vector.

 With at least some recording sources (I am using an OCUR device) it is
 apparently possible to end up having zero descriptors in the stream
 when ProgramMapTable::Create is called, but GCC 8 (and libstdc++) now
 includes AddressSanitizer integration for std::vector, detecting
 out-of-range accesses to a vector, which means that referencing the
 0th element is now an error (and an abort) even though the called code
 would not typically copy any data.

 Patch from Gary Buhrmaster, fixes #13263.
 }}}

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13263#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list