Opened 16 years ago

Closed 16 years ago

#4839 closed defect (fixed)

make sure that vm->vtsi is valid in get_PGCIT

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
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 (1)

libs_libmythdvdnav_vm.c-fix-forgotten-null-check.patch (1.0 KB) - added by Erik Hovland <erik@…> 16 years ago.
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

Download all attachments as: .zip

Change History (3)

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

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

comment:1 Changed 16 years ago by Isaac Richards

Milestone: 0.210.22

comment:2 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17630]) Fixes #4839. Adds some null pointer checking in libmythdvdnav

Note: See TracTickets for help on using tickets.