Bug#497656: #497656 libsnmp-python: Lots of segfaults when using Python snmp module

2008-09-04 Thread Vincent Bernat
On Thu, 4 Sep 2008 10:46:44 +0200, Gabriele Messineo <[EMAIL PROTECTED]> wrote: > Hi, > I think you can fix this bug by applying this patch: > > --- python/netsnmp/client_intf.c > +++ python/netsnmp/client_intf.c > 320c320 > <               snprintf(buf,"%ld", buf_len, *var->val.integer); > --- >

Bug#497656: #497656 libsnmp-python: Lots of segfaults when using Python snmp module

2008-09-04 Thread Gabriele Messineo
Hi, I think you can fix this bug by applying this patch: --- 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); The bug has been introduced in