Project

General

Profile

Actions

Bug #1236

closed

free heap missing

Added by p3g4asus over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
01/29/2013
Due date:
% Done:

0%

Estimated time:

Description

Hi,
In function cHelpers::IsWantedChannel(cChannel * channel, string wantedChannels) of the vdrmanager vdr plugin, a call to "free(buffer);" is missing before return statement. This causes garbage and, expecially in small memory enviroments (like mine: Openwrt ar71xx with 64 MB of RAM) also segmentation faults. Here you can find a path for the latest commit (38d1dbda48a5f973b84d6dd8d898869c8fda355a):
http://pastebin.com/PQfFwLR5


Files

01_mallocfree.patch (366 Bytes) 01_mallocfree.patch Unified diff patch file p3g4asus, 01/29/2013 09:01 AM
Actions

Also available in: Atom PDF