Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 751350 Details for
Bug 823857
www-client/chromium-96.0.4664.45: fails to build with glibc-2.34 using Clang (sandbox/linux/services/credentials.cc:103:16: error: variable-sized object may not be initialized)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sandbox patch
chromium-sandbox-glibc-2.34.patch (text/plain), 717 bytes, created by
Stephan Hartmann (RETIRED)
on 2021-11-15 21:24:10 UTC
(
hide
)
Description:
sandbox patch
Filename:
MIME Type:
Creator:
Stephan Hartmann (RETIRED)
Created:
2021-11-15 21:24:10 UTC
Size:
717 bytes
patch
obsolete
>diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc >index ca6b595..1c1ee42 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); > tls = tls_buf; > #endif >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 823857
:
751335
|
751338
| 751350