]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.16] [9.18] fix: dev: Unify the int32_t vs int_fast32_t when working with atomic...
authorOndřej Surý <ondrej@isc.org>
Mon, 14 Apr 2025 19:19:32 +0000 (19:19 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 14 Apr 2025 19:19:32 +0000 (19:19 +0000)
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

Backport of MR !10390

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

See merge request isc-projects/bind9!10391


Trivial merge