Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: chromium/patches/to_upstream/40_MKV_fix_oob_write.patch

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromium/patches/to_upstream/40_MKV_fix_oob_write.patch
diff --git a/chromium/patches/to_upstream/40_MKV_fix_oob_write.patch b/chromium/patches/to_upstream/40_MKV_fix_oob_write.patch
new file mode 100644
index 0000000000000000000000000000000000000000..01094a8b446af86af6dce540577976cdbb27b088
--- /dev/null
+++ b/chromium/patches/to_upstream/40_MKV_fix_oob_write.patch
@@ -0,0 +1,13 @@
+Index: orig/libavformat/matroskadec.c
+===================================================================
+--- orig/libavformat/matroskadec.c (revision 105133)
++++ ffmpeg/libavformat/matroskadec.c (working copy)
+@@ -1841,7 +1841,7 @@
+ lace_size[n] = lace_size[n - 1] + snum;
+ total += lace_size[n];
+ }
+- lace_size[n] = size - total;
++ lace_size[laces - 1] = size - total;
+ break;
+ }
+ }

Powered by Google App Engine
This is Rietveld 408576698