| 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;
|
| + }
|
| + }
|
|
|