Opened 12 years ago

Closed 12 years ago

#4672 closed patch (fixed)

Fix for TSPacket::CreateClone()

Reported by: Shane Shrybman <gnome42@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: low Keywords:
Cc: Ticket locked: no

Description

CreateClone?() in tspacket.h is copying the packet to the address of the pointer instead of the pointer. (patch attached)

Also, it doesn't look like CreateClone?() is used anywhere so another option would be to just remove it altogether.

Attachments (1)

mythtv_tspacket_CreateClone.diff (418 bytes) - added by Shane Shrybman <gnome42@…> 12 years ago.
tspacket.h CreateClone?() fix

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Shane Shrybman <gnome42@…>

tspacket.h CreateClone?() fix

comment:1 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [16026]) Fixes #4672. Fix for TSPacket::CreateClone?() memcpy from Shane.

Note: See TracTickets for help on using tickets.