[Home]

Summary:ASTERISK-24672: [PATCH] Memory leak in func_curl CURLOPT
Reporter:Kristian Høgh (kfhdk)Labels:
Date Opened:2015-01-08 07:19:09.000-0600Date Closed:2015-06-25 04:41:05
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Functions/func_curl
Versions:SVN 1.8.32.1 13.1.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) func_curl-memory-leak.diff
Description:Memory leak in curlds_free in func_curl.c
Comments:By: Matt Jordan (mjordan) 2015-01-12 09:04:12.935-0600

Patch looks correct to me. The channel datastore is not responsible for disposing of the private memory - that is up to the {{destroy}} callback {{curlds_free}}. We clearly are allocating the memory for the {{curl_settings}} in {{acf_curlopt_write}} (unless, of course, there is no channel provided, in which case there is no channel datastore).

By: Kristian Høgh (kfhdk) 2015-06-25 02:47:04.133-0500

I see it is only fixed for 1.16.0 and 13.2.0
1.8.32.3 is still affected

By: Asterisk Team (asteriskteam) 2015-06-25 02:47:04.820-0500

This issue has been reopened as a result of your commenting on it as the reporter. It will be triaged once again as applicable.

By: Joshua C. Colp (jcolp) 2015-06-25 04:41:05.399-0500

Per the wiki[1] Asterisk 1.8 is in security fix only mode. It does not receive bug fixes and will become completely unsupported at the end of this year.

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions