Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 250643 Details for
Bug 339157
sys-apps/sandbox-2.3: dev-libs/nss-3.12.7 fails to build on amd64 hardened
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to make sandbox canonicalize not trigger erealpath to abort
sandbox-2.3-canonicalize-erealpath.patch (text/plain), 646 bytes, created by
Kevin Pyle
on 2010-10-15 03:15:10 UTC
(
hide
)
Description:
Proposed patch to make sandbox canonicalize not trigger erealpath to abort
Filename:
MIME Type:
Creator:
Kevin Pyle
Created:
2010-10-15 03:15:10 UTC
Size:
646 bytes
patch
obsolete
>diff -ru a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c >--- a/libsandbox/libsandbox.c 2010-08-16 13:04:14.000000000 +0000 >+++ b/libsandbox/libsandbox.c 2010-10-12 17:14:03.000000000 +0000 >@@ -174,11 +174,11 @@ > > if (NULL == egetcwd(resolved_path, SB_PATH_MAX - 2)) > return -1; >- char *copy = xstrdup(resolved_path); > size_t len = strlen(resolved_path); > snprintf(resolved_path + len, SB_PATH_MAX - len, "/%s", path); >+ char *copy = xstrdup(resolved_path); > >- char *ret = erealpath(resolved_path, resolved_path); >+ char *ret = erealpath(copy, resolved_path); > free(copy); > if (ret == NULL) { > if (errno_is_too_long()) {
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 339157
:
248990
|
248991
|
248993
|
248994
| 250643 |
252851
|
254231