Modify ↓
Ticket #5120 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
dyn_cast can return 0, check in HandlePAT and UpdateValues
| Reported by: | Erik Hovland <erik@…> | Owned by: | ijr |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | mythtv | Version: | head |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
dynamic_cast can return 0. The pointer returned should be checked before being dereferenced.
This patch also has a small change for FirewireSignalMonitor::RunTableMonitor?(). That change can be safely ignored.
Attachments
Change History
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythtv_firewiresignalmonitor.cpp-dyncast-can-be-null.patch added
Note: See
TracTickets for help on using
tickets.

check dynamic_cast