Thanks to visit codestin.com
Credit goes to github.com

Skip to content

old libcurl segfault in OpenSSL #2409

@asheikm

Description

@asheikm

I did this

I tried to use libcurl , when i invoke the binary I am getting this test program got crashed
[Thread debugging using libthread_db enabled] Core was generated by `test '. Program terminated with signal 11, Segmentation fault. #0 0x00007f1ca4b95393 in ERR_get_state () from /../../lib/libcrypto.so.1.0.0 #0 0x00007f1ca4b95393 in ERR_get_state () from /../../lib/libcrypto.so.1.0.0 #1 0x00007f1ca4b95f26 in ERR_clear_error () from /../../lib/libcrypto.so.1.0.0 #2 0x00007f1ca4b84403 in ENGINE_load_builtin_engines () from /../../lib/libcrypto.so.1.0.0 #3 0x00007f1ca54f66f9 in Curl_ossl_init () from /../../usr/lib/libcurl.so.4 #4 0x00007f1ca54d1c8a in curl_global_init () from /../../usr/lib/libcurl.so.4 #5 0x00007f1ca54d1dca in curl_easy_init () from /../../usr/lib/libcurl.so.4 #6 0x00007f1ca54d7685 in Curl_multi_handle () from /../../usr/lib/libcurl.so.4

I expected the following

no crash

curl/libcurl version

7.36.0
[curl -V output]
7.36.0

operating system

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions