public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Deleted branch fw/bug25420
@ 2020-02-14 9:51 Florian Weimer
0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-14 9:51 UTC (permalink / raw)
To: glibc-cvs
The branch 'fw/bug25420' was deleted.
It previously pointed to:
fa00db0... resolv: Fix ABA race in /etc/resolv.conf change detection [
Diff:
!!! WARNING: THE FOLLOWING COMMITS ARE NO LONGER ACCESSIBLE (LOST):
-------------------------------------------------------------------
fa00db0... resolv: Fix ABA race in /etc/resolv.conf change detection [
dd0b4df... resolv: Enhance __resolv_conf_load to capture file change d
a1a20f0... resolv: Fix file handle leak in __resolv_conf_load [BZ #254
9642b85... resolv: Use <file_change_detection.h> in __resolv_conf_get_
commit fa00db0a6eb755837ae5d413515e0da582b304f3
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jan 21 17:38:15 2020 +0100
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>
commit dd0b4df329ff7ff2a656404db271c8ee8379ff9d
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jan 21 17:25:39 2020 +0100
resolv: Enhance __resolv_conf_load to capture file change data
The data is captured after reading the file. This allows callers
to check the change data against an earlier measurement.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
commit a1a20f029299dc27170912bb9233070c8403444d
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jan 21 17:11:01 2020 +0100
resolv: Fix file handle leak in __resolv_conf_load [BZ #25429]
res_vinit_1 did not close the stream on errors, only on success.
This change moves closing the stream to __resolv_conf_load, for both
the success and error cases.
Fixes commit 89f187a40fc0ad4e22838526bfe34d73f758b776 ("resolv: Use
getline for configuration file reading in res_vinit_1") and commit
3f853f22c87f0b671c0366eb290919719fa56c0e ("resolv: Lift domain search
list limits [BZ #19569] [BZ #21475]"), where memory allocation was
introduced into res_vinit_1.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
commit 9642b85fd0dfa5731020a3271c08e33e1dc05c85
Author: Florian Weimer <fweimer@redhat.com>
Date: Tue Jan 21 16:52:33 2020 +0100
resolv: Use <file_change_detection.h> in __resolv_conf_get_current
Only minor functional changes (i.e., regarding the handling of
directories, which are now treated as empty files).
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-14 9:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 9:51 [glibc] Deleted branch fw/bug25420 Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).