Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 75668 Details for
Bug 116526
net-misc/scponly: Privilege Escalation and Security Bypass Vulnerabilities
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
getopt patch from 4.2 changed for 4.3
scponly-4.3-getopt.patch (text/plain), 592 bytes, created by
Johannes Greil
on 2005-12-28 02:04:55 UTC
(
hide
)
Description:
getopt patch from 4.2 changed for 4.3
Filename:
MIME Type:
Creator:
Johannes Greil
Created:
2005-12-28 02:04:55 UTC
Size:
592 bytes
patch
obsolete
>--- helper.c.orig 2005-12-23 06:08:59.000000000 +0100 >+++ helper.c 2005-12-28 10:51:29.000000000 +0100 >@@ -39,7 +39,9 @@ > > extern char *optarg; > extern int optind; >+#ifdef HAVE_OPTRESET > extern int optreset; >+#endif > > #ifdef UNIX_COMPAT > char* solaris_needs_strsep(char** str, char* delims) >@@ -160,8 +162,14 @@ > * now use getopt to look for our problem option > */ > #ifdef HAVE_GETOPT >+#ifdef HAVE_OPTRESET > optreset=1; >+#endif >+#ifdef __GLIBC__ >+ optind=0; >+#else > optind=1; >+#endif > /* > * tell getopt to only be strict if the 'opts' is well defined > */
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 116526
: 75668