]> git.ipfire.org Git - thirdparty/curl.git/commit
Overhauled ares__get_hostent()
authorYang Tse <yangsita@gmail.com>
Wed, 7 Oct 2009 18:47:04 +0000 (18:47 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 7 Oct 2009 18:47:04 +0000 (18:47 +0000)
commit052dac0d3fe02f4f3e838b0848e3e6f2901e6e42
tree5a1a11bb8a41b2b6693729df14c99c857cdb406f
parent2eeafcf9a6f1bd43bbe05e20b58cbb2a937f2b26
Overhauled ares__get_hostent()

- Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file.
- Improving parsing of /etc/hosts file.
- Validating requested address family.
- Ensuring that failures always return a NULL pointer.
- Adjusting header inclusions.
ares/CHANGES
ares/RELEASE-NOTES
ares/ares__get_hostent.c