mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-27 16:49:42 +01:00
Concurrent readers could replace and destroy a face's reverse-name map while another reader was using it. Publish with replace=false, reclaim losing maps, and retrieve the winner. Return failure if publication fails without a winner instead of retrying indefinitely on allocation failure. Add a concurrent initialization regression that fails before the fix. Tests: full Meson suite (281 passed, 1 skipped). Clippy used opt-level=0 to avoid a nightly compiler timeout; library compilation remained opt=3. Assisted-by: OpenAI Codex