Opened 16 years ago

Closed 15 years ago

#5518 closed defect (fixed)

dereference before being checked defects in NuppelVideoPlayer.cpp and tv_play.cpp

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

These defects are the instances where a pointer is dereferenced and then later checked for null. The fix is usually to check before that dereference, but sometimes the fix could be to get rid of the later check (very infrequently).

Watch out, these patches are in heavily used code paths.

Attachments (1)

libs_libmythtv-reverse-inull.patch (2.7 KB) - added by Erik Hovland <erik@…> 16 years ago.
deals with dereference before null check defects in NuppelVideoPlayer?.cpp and tv_play.cpp

Download all attachments as: .zip

Change History (2)

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

deals with dereference before null check defects in NuppelVideoPlayer?.cpp and tv_play.cpp

comment:1 Changed 15 years ago by danielk

Resolution: fixed
Status: newclosed

(In [19434]) Fixes #5518. Fixes an unlikely null dereferrence in the NVP.

Note: See TracTickets for help on using tickets.