* instead.
*
* Written by Russ Allbery <eagle@eyrie.org>
- * Copyright 2020 Russ Allbery <eagle@eyrie.org>
+ * Copyright 2020, 2023 Russ Allbery <eagle@eyrie.org>
* Copyright 2009, 2013
* The Board of Trustees of the Leland Stanford Junior University
*
- * See LICENSE for licensing terms.
+ * SPDX-License-Identifier: MIT
*/
#include <config.h>
size_t length)
{
krb5_pwqual_moddata data = NULL;
- char *pastring = NULL;
+ char *pastring;
char *name = NULL;
krb5_error_code code;
convert_error(ctx, code, NULL, message, length);
done:
+ explicit_bzero(pastring, password->length);
free(pastring);
if (name != NULL)
krb5_free_unparsed_name(ctx, name);