[ZBX-11440] Memory leaks when resolving LLD macros inside simple macros Created: 2016 Nov 08 Updated: 2017 May 30 Resolved: 2016 Nov 24 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 3.2.2rc1, 3.4.0alpha1 |
Fix Version/s: | 3.2.2rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Major |
Reporter: | Glebs Ivanovskis (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | lld, memoryleak | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
If process_simple_macro_token() fails at the one of intermediate steps it will leak memory allocated for key and/or replace_to. |
Comments |
Comment by Vladislavs Sokurenko [ 2016 Nov 17 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-11440 replace_to is fixed to be always freed. |
Comment by Andris Zeila [ 2016 Nov 21 ] |
Successfully tested |
Comment by Vladislavs Sokurenko [ 2016 Nov 21 ] |
Fixed in: |