1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-24 06:11:34 +00:00

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.
This commit is contained in:
Yang Tse
2009-10-07 18:47:04 +00:00
parent b7bb0a5722
commit c2d3e82931
3 changed files with 164 additions and 97 deletions

View File

@ -1,5 +1,11 @@
Changelog for the c-ares project
* October 7, 2009 (Yang Tse)
- 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.
* 4 Sep 2009 (Daniel Stenberg)
- Jakub Hrozek added ares_parse_srv_reply() for SRV parsing