Modify

Ticket #5125 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

dyn_cast can return 0, check in UpdateFiltersFromStreamData and RunTableMonitor

Reported by: Erik Hovland <erik@…> Owned by: ijr
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

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

Change History

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

check dynamic_cast

comment:1 Changed 4 years ago by danielk

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.