Opened 12 years ago

Closed 12 years ago

#5236 closed defect (fixed)

libmythfreemheg check pointer for null before dereferencing

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

This ticket supersedes #5087, #5088, #5089, #5090 and #5091. The pointer given in a few member functions could be null. It should be checked before being dereferenced.

In an attempt to make it a little easier to triage the tickets I submit I have combined all of the same type of defects into the same patch within any particular directory. The patch attached to this ticket includes all of the patches in the other tickets as well as having another fix in it not previously reported.

Feel free to close the other tickets.

Attachments (1)

libs_libmythfreemheg-check-for-null.patch (9.5 KB) - added by Erik Hovland <erik@…> 12 years ago.
Fixes any instance in libmythfreemheg where a pointer could be null but is dereferenced before checking for null

Download all attachments as: .zip

Change History (4)

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

Fixes any instance in libmythfreemheg where a pointer could be null but is dereferenced before checking for null

comment:1 Changed 12 years ago by Isaac Richards

Resolution: wontfix
Status: newclosed

Closing in favor of #5236

comment:2 Changed 12 years ago by Isaac Richards

Resolution: wontfix
Status: closednew

Whoops, that was especially silly.

comment:3 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [17206]) Fixes #5236. Adds some null pointer checks to MHEG parser.

Note: See TracTickets for help on using tickets.