[Pkg-net-snmp-commits] r256 - branches/net-snmp54/debian/patches
jochen at alioth.debian.org
jochen at alioth.debian.org
Fri Sep 12 16:23:51 UTC 2008
Author: jochen
Date: 2008-09-12 16:23:50 +0000 (Fri, 12 Sep 2008)
New Revision: 256
Added:
branches/net-snmp54/debian/patches/53_fix_python_regression.README
branches/net-snmp54/debian/patches/53_fix_python_regression.patch
Log:
Add Upstream Changeset 17207 to fix Python segfault (introduced by r16962)
Added: branches/net-snmp54/debian/patches/53_fix_python_regression.README
===================================================================
--- branches/net-snmp54/debian/patches/53_fix_python_regression.README (rev 0)
+++ branches/net-snmp54/debian/patches/53_fix_python_regression.README 2008-09-12 16:23:50 UTC (rev 256)
@@ -0,0 +1,2 @@
+Upstream Changeset 17207: Fix 1868278
+python: BUG: 1868278: Python segfault (introduced by r16962)
Added: branches/net-snmp54/debian/patches/53_fix_python_regression.patch
===================================================================
--- branches/net-snmp54/debian/patches/53_fix_python_regression.patch (rev 0)
+++ branches/net-snmp54/debian/patches/53_fix_python_regression.patch 2008-09-12 16:23:50 UTC (rev 256)
@@ -0,0 +1,13 @@
+Index: python/netsnmp/client_intf.c
+===================================================================
+--- net-snmp-5.4.1.orig/python/netsnmp/client_intf.c (Revision 17206)
++++ net-snmp-5.4.1/python/netsnmp/client_intf.c (Revision 17207)
+@@ -338,7 +338,7 @@
+ }
+ }
+ if (!len) {
+- snprintf(buf,"%ld", buf_len, *var->val.integer);
++ snprintf(buf, buf_len, "%ld", *var->val.integer);
+ len = STRLEN(buf);
+ }
+ break;
More information about the Pkg-net-snmp-commits
mailing list