summaryrefslogtreecommitdiff
path: root/www-client/chromium
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-01-11 22:37:19 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-01-11 22:37:19 -0500
commit141ccd94d45b9f4bd3ebc2506da8ae4784a480ed (patch)
treee507235b4d7ac9643c1b1f98489987df55c824d7 /www-client/chromium
parentccd490afd151c3152d37d58093469e799ffc3ed9 (diff)
downloadppo-141ccd94d45b9f4bd3ebc2506da8ae4784a480ed.tar.xz
oops
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/files/chromium-99-sandbox-glib234.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-99-sandbox-glib234.patch b/www-client/chromium/files/chromium-99-sandbox-glib234.patch
new file mode 100644
index 0000000..0379084
--- /dev/null
+++ b/www-client/chromium/files/chromium-99-sandbox-glib234.patch
@@ -0,0 +1,22 @@
+diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc
+index ca6b59547..4fb5adf88 100644
+--- a/sandbox/linux/services/credentials.cc
++++ b/sandbox/linux/services/credentials.cc
+@@ -11,6 +11,7 @@
+ #include <stddef.h>
+ #include <stdint.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/syscall.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
+@@ -100,7 +101,8 @@ bool ChrootToSafeEmptyDir() {
+ // TODO(crbug.com/1247458) Broken in MSan builds after LLVM f1bb30a4956f.
+ clone_flags |= CLONE_VM | CLONE_VFORK | CLONE_SETTLS;
+
+- char tls_buf[PTHREAD_STACK_MIN] = {0};
++ char tls_buf[PTHREAD_STACK_MIN];
++ memset(tls_buf, 0, PTHREAD_STACK_MIN * sizeof(char));
+ tls = tls_buf;
+ #endif
+