Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 827668 Details for
Bug 1033528
xinetd segfaults when connecting to tcpmux service
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch v2 - shift args
tcpmux-nameinargs-shift-args.patch (text/plain), 823 bytes, created by
Jan Synacek
on 2013-11-22 10:24:49 UTC
(
hide
)
Description:
Patch v2 - shift args
Filename:
MIME Type:
Creator:
Jan Synacek
Created:
2013-11-22 10:24:49 UTC
Size:
823 bytes
patch
obsolete
>--- xinetd-2.3.15/xinetd/confparse.c 2013-11-21 10:51:24.971436315 +0100 >+++ xinetd-2.3.15-tcpmux-segfault/xinetd/confparse.c 2013-11-21 14:42:35.790910672 +0100 >@@ -68,8 +68,6 @@ static status_e fix_server_argv( struct > "Must specify server args if using NAMEINARGS flag"); > return( FAILED ); > } >- >- return ( OK ); > } > > /* >@@ -109,6 +107,21 @@ static status_e fix_server_argv( struct > out_of_memory( func ) ; > return( FAILED ) ; > } >+ >+ /* >+ * If NAMEINARGS flag was set before, shift args >+ */ >+ if( SC_NAMEINARGS( scp ) ) >+ { >+ int i = 0 ; >+ char **pp ; >+ for ( pp = &SC_SERVER_ARGV(scp)[ i+1 ] ; *pp != NULL ; pp++ ) >+ { >+ SC_SERVER_ARGV(scp)[ i++ ] = *pp ; >+ } >+ SC_SERVER_ARGV(scp)[ i ] = NULL ; >+ } >+ > return( OK ) ; > } >
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 1033528
:
827667
| 827668