[mythtv-commits] Ticket #11844: Negative values in Services API requests can cause segfaults

MythTV noreply at mythtv.org
Mon Dec 14 19:36:59 UTC 2015


#11844: Negative values in Services API requests can cause segfaults
---------------------------------------------+-----------------------------
 Reporter:  Bill Meek <keemllib@…>           |          Owner:
     Type:  Bug Report - Crash               |         Status:  new
 Priority:  minor                            |      Milestone:  unknown
Component:  MythTV - Services API - Backend  |        Version:  Master Head
 Severity:  medium                           |     Resolution:
 Keywords:                                   |  Ticket locked:  0
---------------------------------------------+-----------------------------

Comment (by Bill Meek <keemllib@…>):

 Added fixes for all StartIndex parameters to prevent
 a -1 value from causing a segfault. Not sure why it
 exists in Channel::GetChannelInfoList because it doesn't
 seem to have any affect. Tested on v0.28-pre-3221-g7292e21
 with values of -1, 0, 1 and no StartIndex parameter.

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


More information about the mythtv-commits mailing list