diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2020-10-08 08:21:36 +0200 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2020-10-08 08:21:36 +0200 |
commit | a72458f5dce3c9d8052f625df61efc7850064589 (patch) | |
tree | 55c1c666cad79d1ca7e0a63ea66853fd0015fbf3 /www-client/chromium/files | |
parent | mail-mta/postfix: bump to 3.6_pre20201003 (diff) | |
download | gentoo-a72458f5dce3c9d8052f625df61efc7850064589.tar.gz gentoo-a72458f5dce3c9d8052f625df61efc7850064589.tar.bz2 gentoo-a72458f5dce3c9d8052f625df61efc7850064589.zip |
www-client/chromium: security cleanup
Bug: https://bugs.gentoo.org/747013
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-84-mediaalloc.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/www-client/chromium/files/chromium-84-mediaalloc.patch b/www-client/chromium/files/chromium-84-mediaalloc.patch deleted file mode 100644 index 69f0229088a9..000000000000 --- a/www-client/chromium/files/chromium-84-mediaalloc.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.chromium.org/p/chromium/issues/detail?id=1095962 - ---- /media/base/media.cc -+++ /media/base/media.cc -@@ -2,6 +2,8 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - -+#include <limits> -+ - #include "media/base/media.h" - - #include "base/allocator/buildflags.h" -@@ -41,7 +43,7 @@ - - #if BUILDFLAG(USE_ALLOCATOR_SHIM) - // Remove allocation limit from ffmpeg, so calls go down to shim layer. -- av_max_alloc(0); -+ av_max_alloc(std::numeric_limits<size_t>::max()); - #endif // BUILDFLAG(USE_ALLOCATOR_SHIM) - - #endif // BUILDFLAG(ENABLE_FFMPEG) ---- /third_party/ffmpeg/chromium/dllmain.cc -+++ /third_party/ffmpeg/chromium/dllmain.cc -@@ -3,6 +3,7 @@ - // found in the LICENSE file. - - #include <intrin.h> -+#include <limits> - #include <new.h> - #include <stdlib.h> - #include <windows.h> -@@ -28,7 +29,7 @@ - if (reason == DLL_PROCESS_ATTACH) { - DisableThreadLibraryCalls(instance); - // Remove allocation limit from ffmpeg, so calls go down to shim layer. -- av_max_alloc(0); -+ av_max_alloc(std::numeric_limits<size_t>::max()); - // Enable OOM crashes in the shim for all malloc calls that fail. - _set_new_mode(1); - _set_new_handler(&OnNoMemory); |