Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 674344 Details for
Bug 715706
net-misc/netkit-telnetd-0.17-r12 : * (no error message)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible __environ fix
environ.patch (text/plain), 663 bytes, created by
Stefan Michelsson
on 2020-11-22 15:25:12 UTC
(
hide
)
Description:
Possible __environ fix
Filename:
MIME Type:
Creator:
Stefan Michelsson
Created:
2020-11-22 15:25:12 UTC
Size:
663 bytes
patch
obsolete
>diff -ru netkit-telnet-0.17.orig/telnetd/setproctitle.c netkit-telnet-0.17/telnetd/setproctitle.c >--- netkit-telnet-0.17.orig/telnetd/setproctitle.c 2020-11-22 14:14:35.815624058 +0200 >+++ netkit-telnet-0.17/telnetd/setproctitle.c 2020-11-22 14:19:02.956773764 +0200 >@@ -86,10 +87,10 @@ > > for (i = 0; envp[i] != NULL; i++) > continue; >- __environ = (char **) malloc(sizeof (char *) * (i + 1)); >+ environ = (char **) malloc(sizeof (char *) * (i + 1)); > for (i = 0; envp[i] != NULL; i++) >- __environ[i] = strdup(envp[i]); >- __environ[i] = NULL; >+ environ[i] = strdup(envp[i]); >+ environ[i] = NULL; > > /* > ** Save start and extent of argv for setproctitle.
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 715706
:
628276
|
628278
|
628280
|
628282
|
628284
|
628286
|
674341
| 674344