The Samba-Bugzilla – Attachment 5058 Details for
Bug 5885
swat prints a bogus ip-address in smb.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.4
0001-s3-Fix-an-uninitialized-variable-reference.patch (text/plain), 715 bytes, created by
Volker Lendecke
on 2009-12-06 14:09:25 UTC
(
hide
)
Description:
Patch for 3.4
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-12-06 14:09:25 UTC
Size:
715 bytes
patch
obsolete
>From badd88dc8cc82c261b28c584192e62501597648d Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Sun, 29 Nov 2009 22:57:19 +0100 >Subject: [PATCH] s3: Fix an uninitialized variable reference > >--- > source3/web/cgi.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/source3/web/cgi.c b/source3/web/cgi.c >index 40f9ee6..dd0aadb 100644 >--- a/source3/web/cgi.c >+++ b/source3/web/cgi.c >@@ -657,7 +657,8 @@ const char *cgi_remote_addr(void) > { > if (inetd_server) { > char addr[INET6_ADDRSTRLEN]; >- return get_peer_addr(1,addr,sizeof(addr)); >+ get_peer_addr(1,addr,sizeof(addr)); >+ return talloc_strdup(talloc_tos(), addr); > } > return getenv("REMOTE_ADDR"); > } >-- >1.6.0.4 >
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
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 5885
: 5058 |
5059