FWIW, this had been reported to upstream recently and a fix has been commited to their source tree:
https://sourceforge.net/p/net-snmp/mailman/message/35585541/ https://sourceforge.net/p/net-snmp/code/ci/333aea41eb8bcdb9afae6bb89f3581f8e70ee830
There have been no official net-snmp relases since v5.7.3 (Dec 2014), but their commit log suggests that development is still active. So, upgrading to their latest version plus cherry picking the commit above should fix this.
FWIW, this had been reported to upstream recently and a fix has been commited to their source tree:
https:/ /sourceforge. net/p/net- snmp/mailman/ message/ 35585541/ /sourceforge. net/p/net- snmp/code/ ci/333aea41eb8b cdb9afae6bb89f3 581f8e70ee830
https:/
There have been no official net-snmp relases since v5.7.3 (Dec 2014), but their commit log suggests that development is still active. So, upgrading to their latest version plus cherry picking the commit above should fix this.