]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add POST(len);
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 07:18:19 +0000 (18:18 +1100)
committerMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 23:20:39 +0000 (10:20 +1100)
lib/dns/spnego_asn1.c
util/copyrights

index 83191fd79dd28b28a8386cd7d7ea44f80f60e0c3..4a5091fddcdf229a6799d7f045cf646878ea5079 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007, 2012, 2013, 2015, 2016  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2012, 2013, 2015, 2016, 2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -358,6 +358,7 @@ decode_ContextFlags(const unsigned char *p, size_t len, ContextFlags * data, siz
                return ASN1_OVERRUN;
        p++;
        len--;
+       POST(len);
        reallen--;
        ret++;
        data->delegFlag = (*p >> 7) & 1;
index b4d1fd77de8ed5ae03fe24c8be43884561552038..c021071346b57e36bb1561161810d810d5e0896a 100644 (file)
 ./lib/dns/spnego.asn1                          X       2006
 ./lib/dns/spnego.c                             C       2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017
 ./lib/dns/spnego.h                             C       2006,2007,2016
-./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015,2016
+./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015,2016,2018
 ./lib/dns/spnego_asn1.pl                       PERL    2006,2007,2012,2016
 ./lib/dns/ssu.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2010,2011,2013,2014,2016,2017,2018
 ./lib/dns/ssu_external.c                       C       2011,2012,2013,2016,2017