The branch, v3-2-test has been updated via a46dc151f692e6b4bd14d3881f90bca5fe5b9474 (commit) from 93c977e80594e20ebd562b1eb8a03d57b9299461 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit a46dc151f692e6b4bd14d3881f90bca5fe5b9474 Author: Jeremy Allison <[EMAIL PROTECTED]> Date: Wed Aug 13 16:46:49 2008 -0700 Fix for bug #5688 from SATOH Fumiyasu <[EMAIL PROTECTED]>. LPQ process is orphaned if socket address parameter is invalid. If the "socket address" parameter is a null string that is an invalid value for Samba 3.2 but valid for Samba 3.0. Jeremy. ----------------------------------------------------------------------- Summary of changes: source/smbd/server.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: 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"; -- Samba Shared Repository