Skip to content

segfault in EVP_DigestInit_ex (lws_tls_client_create_vhost_context) #3636

Description

@chenuduss

My application use fork(). Also my app multiple times open and closes websocket objects (open threated as lws_create_context+lws_ss_create).

On version 4.5.8, when reopening a websocket object after fork(), segfault occurs in the lws_tls_client_create_vhost_context function on the line:

if (EVP_DigestInit_ex(mdctx, EVP_sha256(), NULL) != 1) {

There were no problems on versions 4.5.1 and 4.5.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions