Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 385912 Details for
Bug 523994
sys-apps/install-xattr-0.3: recursive fork bomb with =sys-apps/portage-2.2.14_rc1 and FEATURES=xattr when /usr/lib is a symlink
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
install-xattr: canonicalize portage_helper_path
install-xattr-bug-523994.patch (text/plain), 782 bytes, created by
Zac Medico
on 2014-10-01 18:40:20 UTC
(
hide
)
Description:
install-xattr: canonicalize portage_helper_path
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2014-10-01 18:40:20 UTC
Size:
782 bytes
patch
obsolete
>--- install-xattr.c >+++ install-xattr.c >@@ -325,6 +325,7 @@ > */ > char *oldpwd = getenv("OLDPWD"); > char *portage_helper_path = getenv("__PORTAGE_HELPER_PATH"); >+ char *portage_helper_canpath = NULL; > if (portage_helper_path) > chdir(oldpwd); > >@@ -334,8 +335,11 @@ > > case 0: > /* find system install avoiding mypath and portage_helper_path! */ >- install = which(mypath, portage_helper_path); >+ if (portage_helper_path) >+ portage_helper_canpath = realpath(portage_helper_path, NULL); >+ install = which(mypath, portage_helper_canpath); > free(mypath); >+ free(portage_helper_canpath); > argv[0] = install; /* so coreutils' lib/program.c behaves */ > execv(install, argv); /* The kernel will free(install). */ > err(1, "execv() failed");
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 523994
: 385912