Opened 16 years ago

Closed 16 years ago

#5520 closed defect (fixed)

pginfo might be null when passed to DoHandleDeleteRecording

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

DoHandleDeleteRecording? dereferences the ProgramInfo? pointer it is handed several times. So sending a null is a great way to get a segfault. MainServer::HandleDeleteRecording? may do just that.

Attachments (1)

programs_mythbackend-forward-null.patch (787 bytes) - added by Erik Hovland <erik@…> 16 years ago.
checks pginfo before passing it to DoHandleDeleteRecording?

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by Erik Hovland <erik@…>

checks pginfo before passing it to DoHandleDeleteRecording?

comment:1 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [18183]) Fixes #5520. Check pginfo pointer for null before dereferencing it.

Note: See TracTickets for help on using tickets.