glue/glue-1.0.9-gcc-4.9.patch

12 lines
481 B
Diff

--- Reusable-Cluster-Components-glue--glue-1.0.9/lib/clplumbing/md5.c 2014-05-27 22:03:37.204519175 +0200
+++ Reusable-Cluster-Components-glue--glue-1.0.9.orig/lib/clplumbing/md5.c 2014-05-27 22:04:36.908200750 +0200
@@ -166,7 +166,7 @@
byteSwap(ctx->buf, 16);
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 */
}
/* The four core functions - F1 is optimized somewhat */