]> git.pld-linux.org Git - packages/flac.git/blobdiff - crbug-111390.patch
fixes from chromium (rather minor one in md5.c)
[packages/flac.git] / crbug-111390.patch
diff --git a/crbug-111390.patch b/crbug-111390.patch
new file mode 100644 (file)
index 0000000..5886772
--- /dev/null
@@ -0,0 +1,22 @@
+chrome fixes
+https://code.google.com/p/chromium/issues/detail?id=111390
+
+also in upstream:c
+http://git.xiph.org/?p=flac.git;a=commitdiff;h=6c8d740c1a0bf01605bdd05fe6765ff841dd082a
+http://git.xiph.org/?p=flac.git;a=commitdiff;h=19e3918d4e35f4ab99e7fcc58c169025c576dd16
+--- flac-1.2.1/src/libFLAC/md5.c       2007-09-10 23:49:47.000000000 +0000
++++ ../chromium-browser-23.0.1271.64/src/third_party/flac/src/libFLAC/md5.c    2012-10-31 19:03:12.000000000 +0000
+@@ -263,12 +263,12 @@
+       byteSwap(ctx->buf, 4);
+       memcpy(digest, ctx->buf, 16);
+-      memset(ctx, 0, sizeof(ctx));    /* In case it's sensitive */
+       if(0 != ctx->internal_buf) {
+               free(ctx->internal_buf);
+               ctx->internal_buf = 0;
+               ctx->capacity = 0;
+       }
++      memset(ctx, 0, sizeof(*ctx));   /* In case it's sensitive */
+ }
+ /*
This page took 0.027745 seconds and 4 git commands to generate.