The Samba-Bugzilla – Attachment 3469 Details for
Bug 5688
LPQ process is orphaned if socket address parameter is invalid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Interpret null string "socket address" as 0.0.0.0
samba-3.2.1-smbd-null-socket-address.patch (text/plain), 478 bytes, created by
SATOH Fumiyasu
on 2008-08-13 04:29:56 UTC
(
hide
)
Description:
Interpret null string "socket address" as 0.0.0.0
Filename:
MIME Type:
Creator:
SATOH Fumiyasu
Created:
2008-08-13 04:29:56 UTC
Size:
478 bytes
patch
obsolete
>diff --git a/source/smbd/server.c b/source/smbd/server.c >index 035469c..176cd5f 100644 >--- a/source/smbd/server.c >+++ b/source/smbd/server.c >@@ -465,7 +465,8 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_ > char *sock_tok; > const char *sock_ptr; > >- if (strequal(sock_addr, "0.0.0.0") || >+ if (sock_addr[0] == '\0' || >+ strequal(sock_addr, "0.0.0.0") || > strequal(sock_addr, "::")) { > #if HAVE_IPV6 > sock_addr = "::,0.0.0.0";
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 5688
: 3469 |
3795