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

MythTV noreply at mythtv.org
Sun Jul 29 21:47:40 UTC 2018


#13263: Crash in ProgramMapTable::Create
--------------------------------+-------------------------------
 Reporter:  Gary Buhrmaster     |          Owner:  Peter Bennett
     Type:  Bug Report - Crash  |         Status:  closed
 Priority:  minor               |      Milestone:  29.2
Component:  MythTV - General    |        Version:  Master Head
 Severity:  medium              |     Resolution:  fixed
 Keywords:  gcc8                |  Ticket locked:  0
--------------------------------+-------------------------------

Comment (by David Hampton <mythtv@…>):

 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:26>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list