On 10/24/16, Shteryana Shopova <syr...@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-h...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to