Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 558900 Details for
Bug 672918
sys-apps/sandbox segfaults in sb_check_exec() for programs compiled with sys-devel/clang-7.0.1, >=sys-libs/glibc-2.28, -fuse-ld=lld and -Wl,--hash-style=gnu
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sandbox-2.14-fix-parse-elf.patch
sandbox-2.14-fix-parse-elf.patch (text/plain), 816 bytes, created by
Dennis Schridde
on 2018-12-29 21:29:07 UTC
(
hide
)
Description:
sandbox-2.14-fix-parse-elf.patch
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2018-12-29 21:29:07 UTC
Size:
816 bytes
patch
obsolete
>Fix a segfault in PARSE_ELF on binaries generated by Clang and lld > >Closes: https://bugs.gentoo.org/672918 >Signed-Off-By: Dennis Schridde <devurandom@gmx.net> >--- sandbox-2.14/libsandbox/wrapper-funcs/__wrapper_exec.c.orig 2018-12-29 22:02:20.095460922 +0100 >+++ sandbox-2.14/libsandbox/wrapper-funcs/__wrapper_exec.c 2018-12-29 22:07:56.646853982 +0100 >@@ -165,7 +165,8 @@ > \ > while (sym < symend) { \ > char *symname = (void *)(elf + stroff + sym->st_name); \ >- if (ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ >+ if (ELF##n##_ST_TYPE(sym->st_info) == STT_FUNC && \ >+ ELF##n##_ST_VISIBILITY(sym->st_other) == STV_DEFAULT && \ > sym->st_shndx != SHN_UNDEF && sym->st_shndx < SHN_LORESERVE && \ > sym->st_name && \ > /* Minor optimization to avoid strcmp. */ \
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 672918
:
557560
|
557770
|
558892
|
558894
|
558896
|
558898
|
558900
|
558906
|
558908
|
567468
|
568076
|
568154