]> git.ipfire.org Git - thirdparty/dhcp.git/blobdiff - omapip/isclib.c
[#182] Corrected CVE: CVE-2021-25217
[thirdparty/dhcp.git] / omapip / isclib.c
index f014bd8eab1e60becdff22442d4ab193767ee9ea..2293cbe417544220a17d5478d46c95b0a9c87700 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright(c) 2009-2019 by Internet Systems Consortium, Inc.("ISC")
+ * Copyright(C) 2009-2022 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
@@ -40,7 +40,7 @@ int shutdown_signal = 0;
  * It may be moved to be part of the dns client code instead
  * of being in the DHCP code
  */
-isc_result_t 
+isc_result_t
 dhcp_dns_client_setservers(void)
 {
        isc_result_t result;
@@ -183,7 +183,7 @@ dhcp_context_create(int flags,
                }
 
                memset(&dhcp_gbl_ctx, 0, sizeof (dhcp_gbl_ctx));
-       
+
                isc_lib_register();
 
                /* get the current time for use as the random seed */
@@ -318,7 +318,7 @@ dhcp_isc_name(unsigned char   *namestr,
        isc_buffer_t b;
        isc_result_t result;
 
-       namelen = strlen((char *)namestr); 
+       namelen = strlen((char *)namestr);
        isc_buffer_init(&b, namestr, namelen);
        isc_buffer_add(&b, namelen);
        dns_fixedname_init(namefix);