]> 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>
Fri, 16 Feb 2018 06:31:00 +0000 (17:31 +1100)
lib/dns/spnego_asn1.c
util/copyrights

index 8dc4ba803022c3f181e7845c83007b87c93c7136..6cc1eab9728f6072212eacd71e89b6d03a09e597 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007, 2012, 2013, 2015  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2012, 2013, 2015, 2018  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -366,6 +366,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 ee553bfa254fc66fc913c0b519cd3f5424d1f018..8d03935738601de856b729f08d530b310c769877 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
-./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015
+./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015,2018
 ./lib/dns/spnego_asn1.pl                       PERL    2006,2007,2012
 ./lib/dns/ssu.c                                        C       2000,2001,2003,2004,2005,2006,2007,2008,2010,2011,2013,2014,2017,2018
 ./lib/dns/ssu_external.c                       C       2011,2012,2013,2017