]> 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 06:33:38 +0000 (17:33 +1100)
lib/dns/spnego.c
util/copyrights

index 9ec295f90e4e83e91494c1e25adc562005aae50d..9674922983720ada52a1e7a670693621d8935fe1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2017  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006-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
@@ -1169,6 +1169,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;
@@ -1184,6 +1185,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 20af8a1cc6287489fe233a44315e83514dde363b..6551230ec14aeabc10076be29a43c523099ca651 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
 ./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
 ./lib/dns/spnego_asn1.c                                C       2006,2007,2012,2013,2015,2018
 ./lib/dns/spnego_asn1.pl                       PERL    2006,2007,2012