svn commit: r307882 - head/contrib/bsnmp/lib

Oliver Pinter oliver.pinter at hardenedbsd.org
Sun Dec 11 00:19:44 UTC 2016


On 10/24/16, Shteryana Shopova <syrinx at freebsd.org> wrote:
> 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

The r256678 commit was already MFCd back to 10-STABLE by ngie@ but
this commit does not marked as MFC to 10-STABLE, and missing from
10-STABLE.

>
>   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");
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
>


More information about the svn-src-all mailing list