The Samba-Bugzilla – Attachment 6989 Details for
Bug 8521
winbindd cache timeout expiry test was reversed.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.1
0001-Fix-bug-8521-winbindd-cache-timeout-expiry-test-was-.patch (text/plain), 960 bytes, created by
Jeremy Allison
on 2011-10-12 19:17:57 UTC
(
hide
)
Description:
git-am fix for 3.6.1
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-10-12 19:17:57 UTC
Size:
960 bytes
patch
obsolete
>From 11303f44317f1a7f3be36a7061241131ee4c5653 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Wed, 12 Oct 2011 09:43:18 -0700 >Subject: [PATCH] Fix bug #8521 - winbindd cache timeout expiry test was reversed > >Found and fix reported by Micha Lenk <micha@lenk.info>. Thanks ! >(cherry picked from commit 1e4761d05978b7a495d121acc1deaa7049f3911c) >--- > source3/winbindd/winbindd_cache.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c >index 4f902b5..4b0c35b 100644 >--- a/source3/winbindd/winbindd_cache.c >+++ b/source3/winbindd/winbindd_cache.c >@@ -4803,7 +4803,7 @@ bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain, > goto fail; > } > entry_timeout = BVAL(data.dptr, 4); >- if (entry_timeout > time(NULL)) { >+ if (time(NULL) > entry_timeout) { > DEBUG(10, ("Entry has timed out\n")); > goto fail; > } >-- >1.7.3.1 >
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:
ambi
:
review+
metze
:
review+
Actions:
View
Attachments on
bug 8521
: 6989