]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] fix: dev: Unify the int32_t vs int_fast32_t when working with atomic types
authorOndřej Surý <ondrej@isc.org>
Mon, 14 Apr 2025 17:37:09 +0000 (17:37 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 14 Apr 2025 17:37:09 +0000 (17:37 +0000)
commit8665d3be39ce0d50bd4aad255519f6d93ad4aeca
treef6dab07c862a91bcf8ae7d0a6403dfd656ff539d
parent74e28cc4be7c867c630634f25e6244ac38906537
parent86673ee67aacf677c96f8272e4a0b9fa65e06310
[9.18] fix: dev: Unify the int32_t vs int_fast32_t when working with atomic types

There's a mismatch between the atomic and non-atomic types that could
potentialy lead to a rwlock deadlock (after two billion 2^32) writes.
Use int_fast32_t when loading the atomic_int_fast32_t types in the
isc_rwlock unit.

Closes #5280

Merge branch '5280-match-the-types-in-isc_rwlock-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!10390