diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-01-21 17:38:15 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-14 08:14:07 +0100 |
commit | fa00db0a6eb755837ae5d413515e0da582b304f3 (patch) | |
tree | a93122a684888db52a32b30868c0733ed229a094 /elf | |
parent | dd0b4df329ff7ff2a656404db271c8ee8379ff9d (diff) | |
download | glibc-fa00db0a6eb755837ae5d413515e0da582b304f3.tar.gz glibc-fa00db0a6eb755837ae5d413515e0da582b304f3.tar.xz glibc-fa00db0a6eb755837ae5d413515e0da582b304f3.zip |
resolv: Fix ABA race in /etc/resolv.conf change detection [BZ #25420]
__resolv_conf_get_current should only record the initial file change data if after verifying that file just read matches the original measurement. Fixes commit aef16cc8a4c670036d45590877 ("resolv: Automatically reload a changed /etc/resolv.conf file [BZ #984]"). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf')
0 files changed, 0 insertions, 0 deletions