summaryrefslogtreecommitdiff
path: root/src/irmd/configfile.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2026-05-20 13:09:20 +0200
committerSander Vrijders <sander@ouroboros.rocks>2026-05-22 08:13:33 +0200
commitac994f2456681bada8371d6cb379467313acddfa (patch)
tree0324b4ddcb94580658b9e3287cd8f2483a7df404 /src/irmd/configfile.c
parent1566d9b6e273510b376adaa1ce920152a089132f (diff)
downloadouroboros-ac994f2456681bada8371d6cb379467313acddfa.tar.gz
ouroboros-ac994f2456681bada8371d6cb379467313acddfa.zip
lib: Fix underrun in activity timer
The inactivity timers are updated under rdlock with atomics on the time stamp. Inactivity is measured by comparison between the act stamp against the thread's own current time (now_ns). A different thread could already have updated the act stamp, causing undderun in the signed comparison and causing a false-positive on the inactive test. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/irmd/configfile.c')
0 files changed, 0 insertions, 0 deletions