{"action":"created","issue":{"url":"https://api.github.com/repos/curl/curl/issues/803","repository_url":"https://api.github.com/repos/curl/curl","labels_url":"https://api.github.com/repos/curl/curl/issues/803/labels{/name}","comments_url":"https://api.github.com/repos/curl/curl/issues/803/comments","events_url":"https://api.github.com/repos/curl/curl/issues/803/events","html_url":"https://github.com/curl/curl/issues/803","id":154479034,"number":803,"title":"Segmentation fault","user":{"login":"leonrom","id":2291155,"avatar_url":"https://avatars.githubusercontent.com/u/2291155?v=3","gravatar_id":"","url":"https://api.github.com/users/leonrom","html_url":"https://github.com/leonrom","followers_url":"https://api.github.com/users/leonrom/followers","following_url":"https://api.github.com/users/leonrom/following{/other_user}","gists_url":"https://api.github.com/users/leonrom/gists{/gist_id}","starred_url":"https://api.github.com/users/leonrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonrom/subscriptions","organizations_url":"https://api.github.com/users/leonrom/orgs","repos_url":"https://api.github.com/users/leonrom/repos","events_url":"https://api.github.com/users/leonrom/events{/privacy}","received_events_url":"https://api.github.com/users/leonrom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/curl/curl/labels/HTTP","name":"HTTP","color":"207de5"},{"url":"https://api.github.com/repos/curl/curl/labels/needs-info-or-update","name":"needs-info-or-update","color":"fbca04"},{"url":"https://api.github.com/repos/curl/curl/labels/SSL/TLS","name":"SSL/TLS","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-12T13:13:36Z","updated_at":"2016-05-16T12:50:33Z","closed_at":null,"body":"### I did this\r\nexecue your example https.cpp (from https://curl.haxx.se/libcurl/c/example.html) with next changes:\r\n\r\n//    curl_easy_setopt(curl, CURLOPT_URL, \"https://example.com/\");\r\n    curl_easy_setopt(curl, CURLOPT_URL, \"https://dev2.epcon.pl:64444/LFC_RTDB/\");\r\n    long verify = 0;\r\n    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, verify); // because _epcon.pl_ has bad sertificate\r\n    curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, verify); // -\"- \r\n    curl_easy_setopt(curl, CURLOPT_PORT, 64444); \r\n\r\n### I expected the following\r\nget some values...\r\nBut I obtain message \"**Segmentation fault**\" !!!\r\n\r\nWith curl_easy_setopt(curl, CURLOPT_URL, \"https://example.com/\");  - all works fine\r\n\r\n### curl/libcurl version\r\n\r\n$ curl -V\r\ncurl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3\r\nProtocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp \r\nFeatures: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP \r\n\r\n### operating system\r\nLinux Mint 17.2\r\n\r\nCan't found any answer in Internet, sorry....\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/curl/curl/issues/comments/219417125","html_url":"https://github.com/curl/curl/issues/803#issuecomment-219417125","issue_url":"https://api.github.com/repos/curl/curl/issues/803","id":219417125,"user":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T12:50:33Z","updated_at":"2016-05-16T12:50:33Z","body":"Well, libcurl shouldn't segfault even when failing to negotiate the correct SSL version..."}}