From 7c003d84bc18f021d413675699e760ec2d6cf270 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 5 Aug 2016 13:08:16 -0600 Subject: [PATCH] authd: Fix use after reference count decrement. --- authd/providers/blacklist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authd/providers/blacklist.c b/authd/providers/blacklist.c index c6de72a6..ca0ca238 100644 --- a/authd/providers/blacklist.c +++ b/authd/providers/blacklist.c @@ -250,8 +250,8 @@ blacklist_dns_callback(const char *result, bool status, query_type type, void *d { /* Match found, so proceed no further */ bl->hits++; - blacklists_cancel(auth); reject_client(auth, SELF_PID, bl->host, bl->reason); + blacklists_cancel(auth); return; }