diff options
author | Christian Ambach <ambi@samba.org> | 2011-05-19 18:13:40 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2011-05-19 21:21:14 +0200 |
commit | 642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce (patch) | |
tree | 20a1265cf58f5b04dcf6cd8e1b893ac0facb6bc9 /source3/smbd | |
parent | 58b77f226767f5641a3fc0ecd557b613c6441c66 (diff) | |
download | samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.tar.gz samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.tar.bz2 samba-642c6ba2b9c581bacfcb9a6cb4c5c95d446263ce.zip |
Fix Bug 8152 - smbd crash in release_ip()
release_ip() needs the private_data, but it was never saved away
to feed it into release_ip() later
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Thu May 19 21:21:14 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index d58baeb930..5f9845cba0 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -2358,6 +2358,9 @@ static void release_ip(const char *ip, void *priv) p = addr + 7; } + DEBUG(10, ("Got release IP message for %s, " + "our address is %s\n", ip, p)); + if ((strcmp(p, ip) == 0) || ((p != addr) && strcmp(addr, ip) == 0)) { /* we can't afford to do a clean exit - that involves database writes, which would potentially mean we |