Opened 16 years ago

Closed 16 years ago

#5125 closed defect (fixed)

dyn_cast can return 0, check in UpdateFiltersFromStreamData and RunTableMonitor

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

HDHRSignalMonitor does some dynamic_cast() calls. It should check if the returned pointer is null.

Attachments (1)

libs_libmythtv_hdhrsignalmonitor.cpp-always_check-dyn_cast.patch (1.1 KB) - added by Erik Hovland <erik@…> 16 years ago.
check dynamic_cast

Download all attachments as: .zip

Change History (2)

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

check dynamic_cast

comment:1 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17202]) Fixes #5125. Adds a couple null pointer checks.

Note: See TracTickets for help on using tickets.