Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86129 Details for
Bug 125701
sys-apps/coreutils compilation fails with sandbox access violation error
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sandbox-1.2.18.patch
sandbox.patch (text/plain), 722 bytes, created by
Martin Schlemmer (RETIRED)
on 2006-05-04 01:08:27 UTC
(
hide
)
Description:
sandbox-1.2.18.patch
Filename:
MIME Type:
Creator:
Martin Schlemmer (RETIRED)
Created:
2006-05-04 01:08:27 UTC
Size:
722 bytes
patch
obsolete
>Index: src/libsandbox.c >=================================================================== >--- src/libsandbox.c (revision 249) >+++ src/libsandbox.c (working copy) >@@ -913,7 +913,7 @@ > errno = 0; > tmpbuf = true_getcwd_DEFAULT(buf, size); > sandbox_on = 1; >- if (tmpbuf) { >+ if ((tmpbuf) && (errno == 0)) { > old_errno = errno; > lstat(buf, &st); > >@@ -935,15 +935,11 @@ > } > > errno = old_errno; >- } >+ } else if (errno != 0) { > >- /* Make sure we do not return garbage if the current libc or kernel's >- * getcwd() is buggy. >- */ >- if (errno != 0) { >- if (tmpbuf) >- free(tmpbuf); >- >+ /* Make sure we do not return garbage if the current libc or >+ * kernel's getcwd() is buggy. >+ */ > return NULL; > } >
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 125701
:
81835
|
84299
|
84301
|
84586
|
86113
|
86129
|
86466
|
86520
|
95815
|
151234