From 05478639e36aa588f6033f0664a448aa04f16c32 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 27 Mar 2013 15:14:45 +0100 Subject: bugfix: imuxsock aborted under some conditions regression from ratelimiting enhancements --- ChangeLog | 4 ++++ plugins/imuxsock/imuxsock.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index c64fe0f9..01ba0f45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ --------------------------------------------------------------------------- +Version 7.3.10 [devel] 2013-04-?? +- bugfix: imuxsock aborted under some conditions + regression from ratelimiting enhancements +--------------------------------------------------------------------------- Version 7.3.9 [devel] 2013-03-27 - support for signing logs added - imudp: now supports user-selectable inputname diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index f15773fc..0f4ded1d 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -570,6 +570,10 @@ findRatelimiter(lstn_t *pLstn, struct ucred *cred, ratelimit_t **prl) FINALIZE; } #endif + if(pLstn->ht == NULL) { + *prl = NULL; + FINALIZE; + } rl = hashtable_search(pLstn->ht, &cred->pid); if(rl == NULL) { -- cgit v1.2.3