diff options
Diffstat (limited to 'sys-auth/otpcalc/files/otpcalc-0.97-badindex.diff')
-rw-r--r-- | sys-auth/otpcalc/files/otpcalc-0.97-badindex.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-auth/otpcalc/files/otpcalc-0.97-badindex.diff b/sys-auth/otpcalc/files/otpcalc-0.97-badindex.diff new file mode 100644 index 000000000000..53a32c4e1cc8 --- /dev/null +++ b/sys-auth/otpcalc/files/otpcalc-0.97-badindex.diff @@ -0,0 +1,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; |