Skip to content

crypto: data race in SecureContext::AddRootCerts? #45743

Closed
@bnoordhuis

Description

@bnoordhuis

Possible data race when worker_threads are active?

if (root_cert_store == nullptr) {
root_cert_store = NewRootCertStore();
}

root_cert_store is a static X509_STORE* that is assigned to (and read from) without any kind of synchronization, AFAICT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++Issues and PRs that require attention from people who are familiar with C++.cryptoIssues and PRs related to the crypto subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions