Skip to content

macOS: loading the default certificates leaks the system root store #160

Closed

Description

@dimensionscape

On macOS, _hx_ssl_cert_load_defaults never releases its search dictionary, the keychain search list or the array SecItemCopyMatching returns, which holds every system root certificate (about 440 KB), so each TLS context built from the default certificates leaks it. Upstream fix: HaxeFoundation/hxcpp#1424.

Activity

  1. added this to the 6.0.0 milestone on Oct 15, 2026
  2. added a commit that references this issue on Oct 15, 2026
    0c0bd08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions