dnsproxy: Check that cache is valid before accessing it.
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Fri, 20 Jan 2012 07:53:58 +0000 (09:53 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 24 Jan 2012 10:41:43 +0000 (11:41 +0100)
commitfd06d528d213ef40c9f9fac80b7c6f840a852034
tree7ca0272348f8d4046754ca9a4b1235f74dba1b07
parent862a3c893b7ffabb22e6efcad50282013edea59f
dnsproxy: Check that cache is valid before accessing it.

The cache can become invalid by just disconnecting a service.
In that case we must not access the cache hash.
src/dnsproxy.c