diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-06-30 10:43:33 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-06-30 10:43:33 +0200 |
commit | 5b757a51b514ea163bbec0a53dbbc06bb1b29241 (patch) | |
tree | fb8d43f46725547a6cb977b5f76fee1483c423bd /ChangeLog | |
parent | 867c5c33e2735567c95bf3a8b0a520bedd34430a (diff) | |
download | glibc-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-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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] |