Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Segfault in ct connect when server is unavailable #128

Closed
pphaneuf opened this issue Sep 2, 2014 · 4 comments
Closed

Segfault in ct connect when server is unavailable #128

pphaneuf opened this issue Sep 2, 2014 · 4 comments

Comments

@pphaneuf
Copy link
Contributor

pphaneuf commented Sep 2, 2014

No description provided.

@pphaneuf
Copy link
Contributor Author

pphaneuf commented Sep 2, 2014

  1. Run

client/ct connect --ct_server_public_key=testdata/ct-server-key-public.pem --ssl_server=127.0.0.1 --ssl_server_port=8124 --ssl_client_trusted_cert_dir=/tmp/ct-ca --ssl_client_require_sct

when there is no server listening on port 8124

Expected:
E0408 15:46:56.366701 11503 client.cc:44] Connection to 127.0.0.1:8124 failed: Connection refused [111]

Got:
E0408 15:46:56.366701 11503 client.cc:44] Connection to 127.0.0.1:8124 failed: Connection refused [111]
./test_running_ssl_server.sh: line 5: 11503 Segmentation fault (core dumped)

Patch attached.

@pphaneuf
Copy link
Contributor Author

pphaneuf commented Sep 2, 2014

Thanks for that. Before I can accept any patches, you need to sign Google's CLA: https://developers.google.com/open-source/cla/individual.

@pphaneuf
Copy link
Contributor Author

pphaneuf commented Sep 2, 2014

CLA is submitted.

@pphaneuf
Copy link
Contributor Author

pphaneuf commented Sep 2, 2014

This issue was closed by revision cfd002c.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant