Opened 16 years ago
Closed 16 years ago
#4735 closed defect (fixed)
mythfrontend needs to make sure that container pointer is valid
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
mythfrontend often gets the background object pointer from calling: theme->GetSet?("background");
This can return null. But probably rarely does. It is still good practice to check for null before dereferencing the pointer.
Attachments (1)
Change History (2)
Changed 16 years ago by
Attachment: | fix-unchecked-null-returns-in-mythfrontend.patch added |
---|
Note: See
TracTickets for help on using
tickets.
always checks the container pointer before dereferencing