Opened 15 years ago

Closed 15 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@…> 15 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@…> 15 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@…> 15 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@…> 15 years ago.
Fresh patch for old ticket.
libs_libmythtv-vdpau-uninit-ticket-5952.patch (148 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Fresh patch for old ticket.

Download all attachments as: .zip

Change History (8)

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

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

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

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

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

Initialize all members in the VDPAU class ctor

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

Fresh patch for old ticket.

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

Fresh patch for old ticket.

comment:1 Changed 15 years ago by paulh

Owner: changed from Isaac Richards to markk
Status: newassigned

comment:2 Changed 15 years ago by markk

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

comment:3 Changed 15 years ago by markk

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.