dnsproxy: Make sure we are not accessing null hash
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Fri, 22 Mar 2013 14:15:19 +0000 (16:15 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 22 Mar 2013 14:21:28 +0000 (16:21 +0200)
commit9944240ba52d19f04fb4bf468a8524f570e5fa6d
treefab621f9104ddf14cbadf9ced12f648857fef2cd
parentfd7600c2cbebb377124d1aab6a4a2eecc46e14d1
dnsproxy: Make sure we are not accessing null hash

If dnsproxy is not in use, like when connman has been started
with -r option, then the listener_table will be NULL which can
cause crash in hash table lookup call.
src/dnsproxy.c