diff plugins/ciphertest.c @ 12388:4e045668b9d0

[gaim-migrate @ 14694] Smashing the stack is neither fun nor profitable! Having room for the NUL terminator is a good idea. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 07 Dec 2005 10:38:52 +0000
parents 1112a9ef2cc6
children e024601d45c7
line wrap: on
line diff
--- a/plugins/ciphertest.c	Wed Dec 07 09:16:25 2005 +0000
+++ b/plugins/ciphertest.c	Wed Dec 07 10:38:52 2005 +0000
@@ -64,7 +64,7 @@
 cipher_test_md5() {
 	GaimCipher *cipher;
 	GaimCipherContext *context;
-	gchar digest[32];
+	gchar digest[33];
 	gboolean ret;
 	gint i = 0;
 
@@ -121,7 +121,7 @@
 cipher_test_sha1() {
 	GaimCipher *cipher;
 	GaimCipherContext *context;
-	gchar digest[40];
+	gchar digest[41];
 	gint i = 0;
 	gboolean ret;