Opened 17 years ago

Closed 16 years ago

#5952 closed defect (fixed)

VDPAU defects from static analysis

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

Description

7 mostly trivial defects from the new VDPAU code found by coverity prevent.

Attachments (5)

libs_libavcodec-vdpau-pointer-checking.patch (1.2 KB ) - added by Erik Hovland <erik@…> 17 years ago.
Remove errant check of last pointer. Code wouldn't work if last was NULL.
libs_libmythtv-vdpau-delete-array.patch (888 bytes ) - added by Erik Hovland <erik@…> 17 years ago.
Some heap allocated variables are arrays and should be deleted as such.
libs_libmythtv-vdpau-uninit.patch (3.3 KB ) - added by Erik Hovland <erik@…> 17 years ago.
Initialize all members in the VDPAU class ctor
libs_libavcodec-vdpau-pointer-checking-ticket-5952.patch (1.2 KB ) - added by Erik Hovland <erik@…> 17 years ago.
Fresh patch for old ticket.
libs_libmythtv-vdpau-uninit-ticket-5952.patch (148 bytes ) - added by Erik Hovland <erik@…> 17 years ago.
Fresh patch for old ticket.

Download all attachments as: .zip

Change History (8)

by Erik Hovland <erik@…>, 17 years ago

Remove errant check of last pointer. Code wouldn't work if last was NULL.

by Erik Hovland <erik@…>, 17 years ago

Some heap allocated variables are arrays and should be deleted as such.

by Erik Hovland <erik@…>, 17 years ago

Initialize all members in the VDPAU class ctor

by Erik Hovland <erik@…>, 17 years ago

Fresh patch for old ticket.

by Erik Hovland <erik@…>, 17 years ago

Fresh patch for old ticket.

comment:1 by paulh, 16 years ago

Owner: changed from Isaac Richards to markk
Status: newassigned

comment:2 by markk, 16 years ago

(In [20548]) Minor VDPAU initialisation improvements. Refs #5952.

comment:3 by markk, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [20549]) Minor VDPAU tidy up. Closes #5952.

Note: See TracTickets for help on using tickets.