Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 111448 Details for
Bug 168334
app-portage/portage-utils-0.1.24: /usr/bin/q -r dies with a segfault after emerge --sync
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
q-bug-168334.diff
q-bug-168334.diff (text/plain), 1.01 KB, created by
solar (RETIRED)
on 2007-02-27 17:56:38 UTC
(
hide
)
Description:
q-bug-168334.diff
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2007-02-27 17:56:38 UTC
Size:
1.01 KB
patch
obsolete
>Index: main.c >=================================================================== >RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v >retrieving revision 1.132 >diff -u -b -B -r1.132 main.c >--- main.c 27 Feb 2007 00:28:42 -0000 1.132 >+++ main.c 27 Feb 2007 17:53:42 -0000 >@@ -95,10 +95,10 @@ > char pkgdir[512] = "/usr/portage/packages/"; > char port_tmpdir[512] = "/var/tmp/portage/"; > >-char binhost[512] = PORTAGE_BINHOST; >-char features[512] = "noman noinfo nodoc"; >+char binhost[1024] = PORTAGE_BINHOST; >+char features[2048] = "noman noinfo nodoc"; > char accept_license[512] = "*"; >-char install_mask[1024] = ""; >+char install_mask[BUFSIZ] = ""; > > const char *err_noapplet = "Sorry this applet was disabled at compile time"; > >@@ -434,6 +434,10 @@ > char buf[BUFSIZ]; > char *p; > >+ >+ if ((strlen(value) + 1 + strlen(s)) >= value_len) >+ errf("%s will exceed max length value of %d with a size of %d", name, value_len, (strlen(value) + 1 + strlen(s))); >+ > strncat(value, " ", value_len); > strncat(value, s, value_len); >
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 168334
:
111201
|
111202
| 111448