diff options
author | Michael Biebl <biebl@debian.org> | 2013-04-10 12:24:34 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2013-04-10 12:24:34 +0200 |
commit | 79b9293acbb763ad949ed7878f138f424dfa85ac (patch) | |
tree | 141c5e0b64fdfbee653542e8a0a3f6d7e3c94671 /plugins/imuxsock | |
parent | d7c2f609d30d5e4d2c69dd2dc7305bd8ec5736ec (diff) | |
download | rsyslog-79b9293acbb763ad949ed7878f138f424dfa85ac.tar.gz |
Imported Upstream version 7.3.10upstream/7.3.10
Diffstat (limited to 'plugins/imuxsock')
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index f15773f..0f4ded1 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) { |