Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#5564 closed defect (fixed)

backend crashes when invalid QUERY_CUTLIST is requested

Reported by: Kees Cook <kees@…> Owned by: stuartm
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In situations where program info cannot be loaded for a requested cutlist, the backend will segfault due to a pgInfo NULL deref.

Attachments (1)

pginfo-crashes.patch (2.0 KB) - added by Kees Cook <kees@…> 16 years ago.
fix crashes on missing pginfo look-ups

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by Kees Cook <kees@…>

Attachment: pginfo-crashes.patch added

fix crashes on missing pginfo look-ups

comment:1 Changed 16 years ago by stuartm

Milestone: unknown0.22
Owner: changed from Isaac Richards to stuartm
Status: newaccepted

comment:2 Changed 16 years ago by stuartm

Status: acceptedstarted

comment:3 Changed 16 years ago by stuartm

Resolution: fixed
Status: startedclosed

(In [18445]) Check pointers returned from GetProgramFromRecorded?() before dereferencing, it will return NULL if no program matches the given chanid and starttime. Patch from Kees Cook. Closes #5564

comment:4 Changed 16 years ago by stuartm

(In [18446]) Backport [18445] to -fixes. Fixes for potential null pointer segfaults in MainServer?.

Note: See TracTickets for help on using tickets.