[Pkg-net-snmp-devel] Bug#977573: net-snmp: Make the perl agent code more tolerant of perl types
Guillem Jover
gjover at sipwise.com
Wed Dec 16 22:35:53 GMT 2020
Source: net-snmp
Source-Version: 5.9+dfsg-3
Severity: wishlist
Tags: patch
Hi!
The code is currently very strict, and does not accept several internal
perl representations for integer scalars. This is a problem when writing
SNMP agents in perl as the values might come from external sources and
might be represented internally in multiple ways, which might change
over the course of the execution.
In addition, improve the logging output to make it easier to diagnose why
a scalar variable could not be set.
These two patches were merged upstream:
https://github.com/net-snmp/net-snmp/pull/153
but I don't expect a new release soon. And it would be nice to merge
these in Debian before the bullseye release. This would be helpful as
these are the only two patches we need a fork for at $work. :)
I'm attaching a patch adding these two patches.
Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-perl-agent-more-type-tolerant.patch
Type: text/x-diff
Size: 10065 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-net-snmp-devel/attachments/20201216/c6fd3d36/attachment.patch>
More information about the Pkg-net-snmp-devel
mailing list