summaryrefslogtreecommitdiff
blob: 53a32c4e1cc8aa9bb89592b15dc8317983b1f7d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Allocate enough elements for array of func ptrs, bug 123976.

--- otpCalc-0.97.orig/callbacks.c
+++ otpCalc-0.97/callbacks.c
@@ -81,7 +81,7 @@
 void calculate(void)
 {
 
-	void (*hashes[4])();
+	void (*hashes[5])();
 
 	gchar *challenge, *passwd, *message, *response;
 	struct tokens *set;