Opened 16 years ago

Closed 16 years ago

#5099 closed defect (fixed)

dyn_cast can return 0, check in convert_diseqc_db()

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

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

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

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

check every dynamic_cast()

comment:1 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.