aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-06-30 10:43:33 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-30 10:43:33 +0200
commit5b757a51b514ea163bbec0a53dbbc06bb1b29241 (patch)
treefb8d43f46725547a6cb977b5f76fee1483c423bd /ChangeLog
parent867c5c33e2735567c95bf3a8b0a520bedd34430a (diff)
downloadglibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.zip
glibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.tar.gz
glibc-5b757a51b514ea163bbec0a53dbbc06bb1b29241.tar.bz2
resolv: Make RES_ROTATE start with a random name server [BZ #19570]
Do not copy the actual name server addresses to rotate them. Use a global rotation offset instead.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dd61ff0..108f8cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2017-06-30 Florian Weimer <fweimer@redhat.com>
+
+ [BZ #19570]
+ * resolv/res_send.c (nameserver_offset): New function.
+ (__libc_res_nsend): Use it to implement RES_ROTATE.
+ (get_nsaddr): Add assert with name server
+ range check.
+ * resolv/Makefile (xtests): Add tst-resolv-rotate.
+ (tst-resolv-rotate): Link against libpthread.
+ * resolv/tst-resolv-rotate.c: New file.
+
2017-06-29 Joseph Myers <joseph@codesourcery.com>
[BZ #21457]