summaryrefslogtreecommitdiffstats
path: root/source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch')
-rw-r--r--source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch b/source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch
new file mode 100644
index 000000000..5dfff20ab
--- /dev/null
+++ b/source/l/pilot-link/pilot-link-0.12.5-ftbfs-f19.patch
@@ -0,0 +1,24 @@
+diff -up pilot-link-0.12.5/libpisock/md5.c.ftbfs-f19 pilot-link-0.12.5/libpisock/md5.c
+--- pilot-link-0.12.5/libpisock/md5.c.ftbfs-f19 2013-02-25 15:17:31.708780677 +0100
++++ pilot-link-0.12.5/libpisock/md5.c 2013-02-25 15:15:07.771861922 +0100
+@@ -125,7 +125,7 @@ void MD5Final(UINT8 digest[16], struct M
+
+ byteSwap(ctx->buf, 4);
+ memcpy(digest, ctx->buf, 16);
+- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
++ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
+ }
+
+ #ifndef ASM_MD5
+diff -up pilot-link-0.12.5/popt/popthelp.c.ftbfs-f19 pilot-link-0.12.5/popt/popthelp.c
+--- pilot-link-0.12.5/popt/popthelp.c.ftbfs-f19 2004-08-25 17:06:39.000000000 +0200
++++ pilot-link-0.12.5/popt/popthelp.c 2013-02-25 15:16:34.593606516 +0100
+@@ -683,7 +683,7 @@ static int showShortOptions(const struct
+ s[0] = '\0';
+ /*@-branchstate@*/ /* FIX: W2DO? */
+ if (str == NULL) {
+- memset(s, 0, sizeof(s));
++ memset(s, 0, sizeof(*s));
+ str = s;
+ }
+ /*@=branchstate@*/