summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch')
-rw-r--r--net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch b/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch
new file mode 100644
index 00000000000..f4d60f322da
--- /dev/null
+++ b/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch
@@ -0,0 +1,11 @@
+diff --git a/src/md5/md5c.c b/src/md5/md5c.c
+index 4dce058..cfdf97c 100644
+--- a/src/md5/md5c.c
++++ b/src/md5/md5c.c
+@@ -267,5 +267,5 @@ void MD5_Final(unsigned char *result, MD5_CTX *ctx)
+ result[14] = ctx->d >> 16;
+ result[15] = ctx->d >> 24;
+
+- egg_memset(ctx, 0, sizeof(ctx));
++ egg_memset(ctx, 0, sizeof(*ctx));
+ }