Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 387758 Details for
Bug 527370
sys-apps/openrc-0.13.2: Crash in rc_service_daemons_crashed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes incorrent handling of chroot option
off-by-one.patch (text/plain), 491 bytes, created by
Alexander Vershilov (RETIRED)
on 2014-10-29 20:13:43 UTC
(
hide
)
Description:
fixes incorrent handling of chroot option
Filename:
MIME Type:
Creator:
Alexander Vershilov (RETIRED)
Created:
2014-10-29 20:13:43 UTC
Size:
491 bytes
patch
obsolete
>--- src/librc/librc-daemon.c.old 2014-10-29 23:07:55.715091991 +0300 >+++ src/librc/librc-daemon.c 2014-10-29 23:08:05.424913928 +0300 >@@ -556,8 +556,8 @@ > > char *ch_root = rc_service_value_get(basename_c(service), "chroot"); > char *spidfile = pidfile; >- if (ch_root) { >- spidfile = malloc(strlen(ch_root) + strlen(pidfile)); >+ if (ch_root && pidfile) { >+ spidfile = malloc(strlen(ch_root) + strlen(pidfile) + 1); > strcpy(spidfile, ch_root); > strcat(spidfile, pidfile); > }
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 527370
: 387758