Prevent a NULL-pointer dereference in connect_to()
authorFabian Keil <fk@fabiankeil.de>
Tue, 3 May 2011 09:55:35 +0000 (09:55 +0000)
committerFabian Keil <fk@fabiankeil.de>
Tue, 3 May 2011 09:55:35 +0000 (09:55 +0000)
commitb484974d822139d2bc0dd344995e9f27ae3c1fe1
treea77938ecc5c3782d729e83aa50330d1a631eee19
parent204337f905aabfdc18467dba3987c0a8425d66f3
Prevent a NULL-pointer dereference in connect_to()

It happened in case of address resolution failures when
there was no forwarding proxy enabled for the request in
the config file and forward-override{} wasn't used at all.

Regression introduced in v1.98 by yours truly.

Patch submitted by saperski in #3296527.
jbsockets.c