Date: Mon, 24 Oct 2016 21:05:23 +0000 (UTC) From: Shteryana Shopova <syrinx@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r307882 - head/contrib/bsnmp/lib Message-ID: <201610242105.u9OL5NdK013428@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: syrinx Date: Mon Oct 24 21:05:23 2016 New Revision: 307882 URL: https://svnweb.freebsd.org/changeset/base/307882 Log: Fix a regression introduced in SVN r256678 that breaks USM header parsing Reviewed by: bz@ Modified: head/contrib/bsnmp/lib/snmp.c Modified: head/contrib/bsnmp/lib/snmp.c ============================================================================== --- head/contrib/bsnmp/lib/snmp.c Mon Oct 24 20:53:44 2016 (r307881) +++ head/contrib/bsnmp/lib/snmp.c Mon Oct 24 21:05:23 2016 (r307882) @@ -288,7 +288,7 @@ parse_secparams(struct asn_buf *b, struc memset(buf, 0, 256); tb.asn_ptr = buf; tb.asn_len = 256; - u_int len; + u_int len = 256; if (asn_get_octetstring(b, buf, &len) != ASN_ERR_OK) { snmp_error("cannot parse usm header");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610242105.u9OL5NdK013428>