Opened 18 years ago

Closed 18 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@…> 18 years ago.
tspacket.h CreateClone() fix

Download all attachments as: .zip

Change History (2)

by Shane Shrybman <gnome42@…>, 18 years ago

tspacket.h CreateClone() fix

comment:1 by danielk, 18 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.