]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add POST(len);
authorMark Andrews <marka@isc.org>
Thu, 15 Feb 2018 21:41:41 +0000 (08:41 +1100)
committerMark Andrews <marka@isc.org>
Fri, 16 Feb 2018 03:08:26 +0000 (14:08 +1100)
lib/dns/spnego.c
util/copyrights

index 377fd06fcb5a180c3ff105bffff3b16042dfaa76..de718a94ca9ffa8aadc72f51388757fe10e78d70 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006-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
@@ -1161,6 +1161,7 @@ der_put_int(unsigned char *p, size_t len, int val, size_t *size)
                                return (ASN1_OVERFLOW);
                        *p-- = 0;
                        len--;
+                       POST(len);
                }
        } else {
                val = ~val;
@@ -1176,6 +1177,7 @@ der_put_int(unsigned char *p, size_t len, int val, size_t *size)
                                return (ASN1_OVERFLOW);
                        *p-- = 0xff;
                        len--;
+                       POST(len);
                }
        }
        *size = base - p;
index 6244a713f4f31835a120fcab02619f323a9374bb..6ae0ac498aea2907b934564ea153c8ce9fac1a11 100644 (file)
 ./lib/dns/sdlz.c                               C.PORTION       1999,2000,2001,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/soa.c                                        C       2000,2001,2004,2005,2007,2009,2016
 ./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.c                             C       2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018
 ./lib/dns/spnego.h                             C       2006,2007,2016
 ./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015,2016,2018
 ./lib/dns/spnego_asn1.pl                       PERL    2006,2007,2012,2016