diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2016-02-12 04:11:33 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2016-02-12 04:11:33 +0100 |
commit | 798ed73a8c2c4cda2f9ac9bba14ed230e81ee585 (patch) | |
tree | 45c45c9bfafb6cd9fc6746ec4e487c38eec28d23 | |
parent | 7be995f74a6f656df35eddbbedd79da8e8e124af (diff) | |
download | xK-798ed73a8c2c4cda2f9ac9bba14ed230e81ee585.tar.gz xK-798ed73a8c2c4cda2f9ac9bba14ed230e81ee585.tar.xz xK-798ed73a8c2c4cda2f9ac9bba14ed230e81ee585.zip |
ZyklonB: fix segfault on total SOCKS failure
-rw-r--r-- | zyklonb.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1727,6 +1727,8 @@ irc_establish_connection_socks (struct bot_context *ctx, str_map_find (&ctx->config, "socks_password")); while (data.polling) poller_run (poller); + if (!data.succeeded) + error_set (e, "connection failed"); } socks_connector_free (connector); |