Opened 12 years ago

Closed 12 years ago

#4935 closed defect (fixed)

container pointer could be null, check before referencing

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

Description

In sr_dialog.cpp, the container pointer in RecOptDialog::updateBackground could be null. It should be checked before dereferencing.

Attachments (1)

libs_libmythtv_sr_dialog.cpp-make-sure-container-exists.patch (590 bytes) - added by Erik Hovland <erik@…> 12 years ago.
Checks container pointer for null before dereferencing

Download all attachments as: .zip

Change History (2)

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

Checks container pointer for null before dereferencing

comment:1 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17539]) Fixes #4935. Don't segfault if theme is missing a background for the recording_options element.

Note: See TracTickets for help on using tickets.