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
Change History
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythtv_diseqcsettings.cpp-always-check-dyn_cast.patch added
Note: See
TracTickets for help on using
tickets.

check every dynamic_cast()