aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/cyrus-sasl2/files/patch-saslauthd::saslcache.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c b/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c
new file mode 100644
index 000000000000..7de41fe20d25
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-saslauthd::saslcache.c
@@ -0,0 +1,13 @@
+Index: saslauthd/saslcache.c
+diff -u -p saslauthd/saslcache.c.orig saslauthd/saslcache.c
+--- saslauthd/saslcache.c.orig Sat Mar 29 04:59:24 2003
++++ saslauthd/saslcache.c Thu Dec 14 13:44:41 2006
+@@ -137,7 +137,7 @@ int main(int argc, char **argv) {
+ }
+
+ table_stats = shm_base + 64;
+- (char *)table = (char *)table_stats + 128;
++ table = (struct bucket *)((char *)table_stats + 128);
+
+ if (dump_stat_info == 0 && dump_user_info == 0)
+ dump_stat_info = 1;