Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 433580 Details for
Bug 373283
net-analyzer/netcat-110-r8: -c does execve() instead of system()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to have -c option of good functional
25_all_sh_c_2.patch (text/plain), 637 bytes, created by
zzwaker
on 2016-05-08 08:26:23 UTC
(
hide
)
Description:
patch to have -c option of good functional
Filename:
MIME Type:
Creator:
zzwaker
Created:
2016-05-08 08:26:23 UTC
Size:
637 bytes
patch
obsolete
>diff -urN netcat/netcat.c netcat-new/netcat.c >--- netcat/netcat.c 2016-05-08 15:18:22.142672910 +0800 >+++ netcat-new/netcat.c 2016-05-08 15:26:40.255993073 +0800 >@@ -2314,8 +2314,11 @@ > holler ("%s [%s] %d (%s) open", > whereto->name, whereto->addrs[0], curport, portpoop->name); > #ifdef GAPING_SECURITY_HOLE >- if (pr00gie) /* exec is valid for outbound, too */ >- doexec (netfd); >+ if (pr00gie) /* -c or -e given? */ >+ if (doexec_use_sh) /* -c */ >+ doexec_new (netfd); >+ else /* -e */ >+ doexec (netfd); > #endif /* GAPING_SECURITY_HOLE */ > if (! o_zero) > x = readwrite (netfd); /* go shovel shit */
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 373283
: 433580