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 305691 Details for
Bug 446864
freeradius is broken
[?]
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.
gdb trace
gdb-trace.txt (text/plain), 1.77 KB, created by
Phil Mayers
on 2008-05-16 14:46:11 UTC
(
hide
)
Description:
gdb trace
Filename:
MIME Type:
Creator:
Phil Mayers
Created:
2008-05-16 14:46:11 UTC
Size:
1.77 KB
patch
obsolete
>Breakpoint 4, listen_bind (this=0x1974200) at listen.c:809 >809 { >(gdb) l >804 >805 /* >806 * Binds a listener to a socket. >807 */ >808 static int listen_bind(rad_listen_t *this) >809 { >810 listen_socket_t *sock = this->data; >811 >812 /* >813 * If the port is zero, then it means the appropriate >(gdb) l >814 * thing from /etc/services. >815 */ >816 if (sock->port == 0) { >817 struct servent *svp; >818 >819 switch (this->type) { >820 case RAD_LISTEN_AUTH: >821 svp = getservbyname ("radius", "udp"); >822 if (svp != NULL) { >823 sock->port = ntohs(svp->s_port); >(gdb) print this >$2 = (rad_listen_t *) 0x1974200 >(gdb) print *this >$3 = {next = 0x0, type = RAD_LISTEN_AUTH, fd = -1, server = 0x0, recv = 0x40ed10 <auth_socket_recv>, send = 0x40cdb0 <auth_socket_send>, > encode = 0x40d040 <client_socket_encode>, decode = 0x40cfb0 <client_socket_decode>, print = 0x40d0c0 <socket_print>, data = 0x1971200} >(gdb) n >810 listen_socket_t *sock = this->data; >(gdb) >816 if (sock->port == 0) { >(gdb) print sock->port >$4 = 0 >(gdb) n >819 switch (this->type) { >(gdb) n >821 svp = getservbyname ("radius", "udp"); >(gdb) n >822 if (svp != NULL) { >(gdb) print svp >$5 = <value optimized out> >(gdb) n >823 sock->port = ntohs(svp->s_port); >(gdb) print svp->s_port >$6 = 5127 >(gdb) print svp >$7 = (struct servent *) 0x16ed360 >(gdb) print *svp >$8 = {s_name = 0x1974250 "radius", s_aliases = 0x1974268, s_port = 5127, s_proto = 0x197425d "udp"} >
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 Raw
Actions:
View
Attachments on
bug 446864
: 305691