Highlights
Race Condition: 2 prior fixes. Scrutinize any change in this area.
lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Race Condition: A synchronization correctness issue allowed any thread (even non-owners) to release a write lock, causing premature release and permitting concurrent writes. Developers must use atomic thread-ownership checks to prevent unauthorized lock releases.
Race Condition: Exceeding 32,768 reentrant read lock acquisitions on a single thread triggers an integer overflow into the write lock bit, allowing concurrent write locks to be acquired alongside existing read locks. Guard rails must explicitly limit reentrant count values.