diff options
author | Devi Sandeep Endluri V V <dendluri@codeaurora.org> | 2018-06-23 21:34:17 +0530 |
---|---|---|
committer | Devi Sandeep Endluri <dendluri@codeaurora.org> | 2018-09-11 11:33:38 +0000 |
commit | c221e631da0e94d7fed19cfbf5cb969a6588f3e3 (patch) | |
tree | 17a0908da158fdb93a232abd861ce091f381786a /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 098cc86c17e41f48cf48f4eb3dcc7c1961653137 (diff) |
bionic: Support case-insensitive domain name hash
- Correct bytes hashing in DNS packet i.e., decrease number
of bytes, otherwise whole of DNS packet is getting parsed
and hashed resulting in not taking "Query Records" in DNS
packet into account as intended.
- Support case-insensitive hashing i.e., convert domain names
into lowercase before hashing/comparison so that there is
no additional query when domain names are same.
Test: as follows
- build, and boot walleye
- netd_test passes
- Perform DNS queries, and ensure they are not case sensitive and
verify that there is no additional DNS query
CRs-Fixed: 2268427
Change-Id: Idb517b8eca8c8a6ac9d2d9a2fbb08bda68958fcb
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions