Opened 16 years ago
Closed 16 years ago
#5147 closed defect (fixed)
dereference of lType in ProgramRecPriority::updateList() is made outside of null check
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
At line 1430 in programs/mythfrontend/programrecpriority.cpp lType is dereferenced outside of the conditional that checks for null. Since lType might be null at this point it could be a segfault. The dereferenced should be put inside the null check.
Attachments (3)
Change History (4)
Changed 16 years ago by
Changed 16 years ago by
Latest version of the mythfrontend null checking patch
Changed 16 years ago by
This patch adds one more null check. Forgotten in the attachment a few minutes ago
Note: See
TracTickets for help on using
tickets.
put lType dereference inside of null check conditional block