Re: Net-SNMP 5.9.5. and 5.10.pre2 released to address snmptrapd security vulnerability

Bart Van Assche via Net-snmp-coders <[email protected]> Thu, 25 Dec 2025 20:13:57 +0100
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On 12/24/25 3:45 PM, Stuart Henderson wrote:
> On 2025/12/23 16:59, Craig Small via Net-snmp-coders wrote:
>> For our sid distribution, 5.9.5 will do the job fine
> 
> btw, if you have any dependent packages that use net-snmp-config --cflags
> rather than pkg-config, check that they still build; the former lists flags
> used by Net-SNMP, the latter just those needed by downstream users.
> 5.9.5 adds -Werror=declaration-after-statement if supported by the compiler.

One possible solution is to modify net-snmp-config such that all -W
flags are filtered out. There may be better solutions.

Thanks,

Bart.