diff options
author | Elliott Hughes <enh@google.com> | 2016-11-14 13:56:32 -0800 |
---|---|---|
committer | mh0rst <mhorst@tzi.de> | 2017-02-07 21:56:32 +0100 |
commit | fe2cc0b7f8032d94aeb5faead7aafbed036aaf58 (patch) | |
tree | 700fa57776017ab2208dfd55b87f656b5f1a892a /tests/fortify_test.cpp | |
parent | 92595081575c82ace07201a3ea32004eba968c0b (diff) | |
download | android_bionic-fe2cc0b7f8032d94aeb5faead7aafbed036aaf58.tar.gz android_bionic-fe2cc0b7f8032d94aeb5faead7aafbed036aaf58.tar.bz2 android_bionic-fe2cc0b7f8032d94aeb5faead7aafbed036aaf58.zip |
Check for bad packets in getaddrinfo.c's getanswer.replicant-6.0-0001
The near duplicate in gethnamaddr.c was already doing so (this fix
is basically copy and pasted from there, but with both copies modified
to avoid skirting undefined behavior).
Bug: http://b/32322088
Test: browser still works
Change-Id: Ied6662be567fb1bddc7ceb138cae1da77fb57976
(cherry picked from commit 27a4459d945e34fabd7166791a5b862ccea83f23)
(cherry picked from commit 418fe1eb1aeefc2268a40c5cec0ceb62672fa026)
(cherry picked from commit 0f6bfb7068224ecc7e80c9b91bffa3dfa912b4e9)
Diffstat (limited to 'tests/fortify_test.cpp')
0 files changed, 0 insertions, 0 deletions