[Pkg-net-snmp-devel] Fwd: [ 1868278 ] A bug in python useing netsnmp.snmpwalk
Gabriele Messineo
gabriele.messineo at winext.eu
Wed Sep 3 06:32:09 UTC 2008
Hi,
I'm forwarding you this notice I sent to net-snmp-coders mailing list to ask
you to change debian patch
debian/patches/49_cve2008_2292_python.patch
That's reintroducing the below cited bug.
I've verified the same apply to net-snmp-5.4.1~dfsg-9.
Thanks and Regards,
Gabriele Messineo
---------- Forwarded Message ----------
Subject: [ 1868278 ] A bug in python useing netsnmp.snmpwalk
Date: Tuesday 02 September 2008
From: Gabriele Messineo <gabriele.messineo at winext.eu>
To: net-snmp-coders at lists.sourceforge.net
Hi,
I follow the cited open bug ticket, because I encountered the same issue.
I did some testing and I found a bug originated in SVN release 16962, a simple
typo that can be fixed with:
--- python/netsnmp/client_intf.c
+++ python/netsnmp/client_intf.c
320c320
< snprintf(buf,"%ld", buf_len, *var->val.integer);
---
> snprintf(buf, buf_len, "%ld", *var->val.integer);
after having applied this patch the bug in Subject seems to be unreproducible.
I tested on Debian/Lenny on i386 from the source packages:
net-snmp_5.4.1~dfsg-8.1.diff.gz
net-snmp_5.4.1~dfsg-8.1.dsc
net-snmp_5.4.1~dfsg-8.1_i386.changes
And I verified in that the typo is still in the SVN Trunk.
I hope that can help.
Regards,
Gabriele Messineo
-------------------------------------------------------
More information about the Pkg-net-snmp-devel
mailing list