[Buildroot] [PATCH 1/1] package/netsnmp: fix memory leak in IP-MIB when running without IPv6

Peter Korsgaard peter at korsgaard.com
Thu Dec 24 08:37:44 UTC 2020

>>>>> "Adam" == Adam Wujek <dev_public at wujek.eu> writes:

 > In a Linux system without IPv6 support (or booted with "ipv6.disable=1")
 > file /proc/net/snmp6 is not present. If such file is not present an allocated
 > memory is not freed. Memory leak occurs even without snmp queries.

 > Problem seen at least since netsnmp 5.7.3 (probably even v5.6.1).
 > Patch backported from netsnmp 5.9, where the problem does not appear any more.

 > Signed-off-by: Adam Wujek <dev_public at wujek.eu>

Committed to 2020.02.x, 2020.08.x and 2020.11.x, thanks.

Bye, Peter Korsgaard

More information about the buildroot mailing list