[ZBX-9895] Memory leak in process_proxyconfig_table() Created: 2015 Sep 21 Updated: 2017 May 30 Resolved: 2015 Oct 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 2.2.6 |
Fix Version/s: | 2.2.11rc1, 2.4.7rc1, 3.0.0alpha3 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Sandis Neilands (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | memoryleak | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Function: process_proxyconfig_table() Description: leaking memory of the variable 'value' in switch 'default' clause in case of unsupported field type. Coverity: CID 118922 Regression: since Affected versions: since 2.2.3 |
Comments |
Comment by Aleksandrs Saveljevs [ 2015 Sep 21 ] |
While at it, it might be nice to simplify get_proxyconfig_data() - it defines a structure "proxytable_t", which consists of just one string member. |
Comment by Sandis Neilands (Inactive) [ 2015 Sep 24 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9895 . |
Comment by Aleksandrs Saveljevs [ 2015 Sep 25 ] |
(1) Please take a look at r55753. It fixes issue reference in ChangeLog and fixes a bit of style in proxy.c changes. sandis.neilands Thanks! Good catch regarding ChangeLog! CLOSED. |
Comment by Sandis Neilands (Inactive) [ 2015 Sep 25 ] |
Fixed in:
|