]> git.ipfire.org Git - thirdparty/bind9.git/commit
[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)
commitdbb559c58f066557df856d5773c9682dfb04b379
tree89d1ad6833456ed87a6400e867ad370463afa829
parentf34be9f549841b119b217f7c782ca7ffd4ee34a3
parentae54bd80764300982045f5611adcfce13262b2f4
[9.16] [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

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