aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-04-04 04:22:09 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-04-04 04:22:09 +0200
commit51279b85758412ec9dcb7970c9c22ec16b03820a (patch)
tree19095cb43882b743174d90432466b9e543a117a3
parent0247a14cff6ac6e8b32ec0623954d4dc9f223dbb (diff)
Added usage of explicit_bzero()
-rw-r--r--FICS/fics_addplayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index 711c918..cda2fb2 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -159,5 +159,7 @@ main(int argc, char *argv[])
SERVER_HOSTNAME);
mail_string_to_address(email, "FICS Account Created", text);
+ explicit_bzero(password, sizeof(password));
+ explicit_bzero(text, sizeof(text));
return 0;
}