connect.c: fix multiple possible dereferences of null pointers
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 18 Apr 2014 21:56:54 +0000 (23:56 +0200)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 18 Apr 2014 21:56:54 +0000 (23:56 +0200)
commit7296fc9e7e2fd7f8661a597dd3f1cd9facc938fa
tree5763f172386618645e7a2ccfea1928188afa8533
parent3f74e149f88fef5419504439e0adee0d517d9033
connect.c: fix multiple possible dereferences of null pointers

In case the first address in the tempaddr array is NULL,
the code would previously dereference an unchecked null pointer.
lib/connect.c