|
|
a1a51c |
diff -up wrk/genisoimage/jte.c.wrk wrk/genisoimage/jte.c
|
|
|
a1a51c |
--- wrk/genisoimage/jte.c.wrk 2013-02-22 13:24:47.722196877 +0100
|
|
|
a1a51c |
+++ wrk/genisoimage/jte.c 2013-02-25 12:41:45.136653487 +0100
|
|
|
a1a51c |
@@ -280,7 +280,7 @@ extern int list_file_in_jigdo(char *file
|
|
|
a1a51c |
if (!jtemplate_out)
|
|
|
a1a51c |
return 0;
|
|
|
a1a51c |
|
|
|
a1a51c |
- memset(md5, 0, sizeof(md5));
|
|
|
a1a51c |
+ memset(md5, 0, 16);
|
|
|
a1a51c |
|
|
|
a1a51c |
/* Cheaper to check file size first */
|
|
|
a1a51c |
if (size < jte_min_size)
|
|
|
a1a51c |
diff -up wrk/genisoimage/md5.c.wrk wrk/genisoimage/md5.c
|
|
|
a1a51c |
--- wrk/genisoimage/md5.c.wrk 2013-02-22 13:15:18.210866321 +0100
|
|
|
a1a51c |
+++ wrk/genisoimage/md5.c 2013-02-22 13:15:29.979935133 +0100
|
|
|
a1a51c |
@@ -183,7 +183,7 @@ mk_MD5Final (unsigned char digest[16], s
|
|
|
a1a51c |
putu32(ctx->buf[1], digest + 4);
|
|
|
a1a51c |
putu32(ctx->buf[2], digest + 8);
|
|
|
a1a51c |
putu32(ctx->buf[3], digest + 12);
|
|
|
a1a51c |
- memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
|
|
|
a1a51c |
+ memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
|
|
|
a1a51c |
}
|
|
|
a1a51c |
|
|
|
a1a51c |
/* The four core functions - F1 is optimized somewhat */
|
|
|
a1a51c |
diff -up wrk/libedc/edcspeed.c.wrk wrk/libedc/edcspeed.c
|
|
|
a1a51c |
--- wrk/libedc/edcspeed.c.wrk 2013-02-22 10:45:33.353219110 +0100
|
|
|
a1a51c |
+++ wrk/libedc/edcspeed.c 2013-02-22 10:46:52.497686387 +0100
|
|
|
a1a51c |
@@ -35,7 +35,8 @@ static int encspeed()
|
|
|
a1a51c |
secs = 10;
|
|
|
a1a51c |
end = 75*1000000 * secs;
|
|
|
a1a51c |
|
|
|
a1a51c |
- memset(sect, 0, sizeof(sect));
|
|
|
a1a51c |
+ //faulty and unneccessary, immediately rewritten again
|
|
|
a1a51c |
+ //memset(sect, 0, sizeof(sect));
|
|
|
a1a51c |
for (i=0; i < 2352; ) {
|
|
|
a1a51c |
sect[i++] = 'J';
|
|
|
a1a51c |
sect[i++] = 'S';
|