This changes one line, setting the value to NULL after jumping to the err label. From what I can tell, though, I don't think this goes far enough to fix it as this is not matched when the address variable is freed in snmpIPv4BaseDomain.c, snmpIPv6BaseDomain.c, and T022netsnmp_parse_ep_str_clib.c. So having some additional cleanup from upstream would be good.
I'm sorry for missing this. I've added a work in progress merge request for lunar that matches the upstream version of the commit here:
https:/ /code.launchpad .net/~lvoytek/ ubuntu/ +source/ net-snmp/ +git/net- snmp/+merge/ 435225
This changes one line, setting the value to NULL after jumping to the err label. From what I can tell, though, I don't think this goes far enough to fix it as this is not matched when the address variable is freed in snmpIPv4BaseDom ain.c, snmpIPv6BaseDom ain.c, and T022netsnmp_ parse_ep_ str_clib. c. So having some additional cleanup from upstream would be good.