Opened 15 years ago

Closed 15 years ago

#7000 closed defect (fixed)

minor defects in lirc_client.c

Reported by: Erik Hovland <erik@…> Owned by: paulh
Priority: minor Milestone: 0.22
Component: MythTV - User Interface Library Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

  1. free memory that is no longer in use to prevent leakage.
  2. Prevent string overflow by using strncpy.

Attachments (2)

libs_libmythui-resource-leak (610 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Close a memory leak
libs_libmythui-string-overflow (675 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Prevent a string overflow by using strncpy

Download all attachments as: .zip

Change History (4)

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

Close a memory leak

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

Prevent a string overflow by using strncpy

comment:1 Changed 15 years ago by paulh

Milestone: unknown0.22
Owner: changed from stuartm to paulh
Status: newassigned

comment:2 Changed 15 years ago by paulh

Resolution: fixed
Status: assignedclosed

(In [21714]) Fix small memory leak and prevent a possible string overflow. Fixes #7000.

Note: See TracTickets for help on using tickets.