Modify ↓
Ticket #4839 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
make sure that vm->vtsi is valid in get_PGCIT
| Reported by: | Erik Hovland <erik@…> | Owned by: | ijr |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.22 |
| Component: | mythtv | Version: | 0.21-fixes |
| Severity: | low | Keywords: | |
| Cc: | Ticket locked: | no |
Description
The pointer vm->vtsi is dereferenced in get_PGCIT() without checking if it is null. This will cause a segfault if it is.
Attachments
Change History
Changed 4 years ago by Erik Hovland <erik@…>
- Attachment libs_libmythdvdnav_vm.c-fix-forgotten-null-check.patch added
Note: See
TracTickets for help on using
tickets.

checks vm->vtsi for null, if it is return null for pgcit. Check returned pointer of any get_PGCIT calls now that it can return null