Modify

Ticket #5099 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

dyn_cast can return 0, check in convert_diseqc_db()

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

Description

convert_diseqc_db() sometimes checks dynamic_cast(). But mostly it doesn't. It should check every cast for null return.

Attachments

libs_libmythtv_diseqcsettings.cpp-always-check-dyn_cast.patch (6.1 KB) - added by Erik Hovland <erik@…> 4 years ago.
check every dynamic_cast()

Change History

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

check every dynamic_cast()

comment:1 Changed 4 years ago by danielk

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

(In [17532]) Fixes #5099. Add's null pointer checks prior to deref in DVB-S DiSEqC code.

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.