11cb0ef41Sopenharmony_ci## c-ares version 1.27.0 - Feb 23 2024 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciThis is a security, feature, and bugfix release. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciSecurity: 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ci* Moderate. CVE-2024-25629. Reading malformatted `/etc/resolv.conf`, 81cb0ef41Sopenharmony_ci `/etc/nsswitch.conf` or the `HOSTALIASES` file could result in a crash. 91cb0ef41Sopenharmony_ci [GHSA-mg26-v6qh-x48q](https://github.com/c-ares/c-ares/security/advisories/GHSA-mg26-v6qh-x48q) 101cb0ef41Sopenharmony_ci 111cb0ef41Sopenharmony_ciFeatures: 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci* New function `ares_queue_active_queries()` to retrieve number of in-flight 141cb0ef41Sopenharmony_ci queries. [PR #712](https://github.com/c-ares/c-ares/pull/712) 151cb0ef41Sopenharmony_ci* New function `ares_queue_wait_empty()` to wait for the number of in-flight 161cb0ef41Sopenharmony_ci queries to reach zero. [PR #710](https://github.com/c-ares/c-ares/pull/710) 171cb0ef41Sopenharmony_ci* New `ARES_FLAG_NO_DEFLT_SVR` for `ares_init_options()` to return a failure if 181cb0ef41Sopenharmony_ci no DNS servers can be found rather than attempting to use `127.0.0.1`. This 191cb0ef41Sopenharmony_ci also introduces a new ares status code of `ARES_ENOSERVER`. [PR #713](https://github.com/c-ares/c-ares/pull/713) 201cb0ef41Sopenharmony_ci 211cb0ef41Sopenharmony_ciChanges: 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ci* EDNS Packet size should be 1232 as per DNS Flag Day. [PR #705](https://github.com/c-ares/c-ares/pull/705) 241cb0ef41Sopenharmony_ci 251cb0ef41Sopenharmony_ciBugfixes: 261cb0ef41Sopenharmony_ci 271cb0ef41Sopenharmony_ci* Windows DNS suffix search list memory leak. [PR #711](https://github.com/c-ares/c-ares/pull/711) 281cb0ef41Sopenharmony_ci* Fix warning due to ignoring return code of `write()`. [PR #709](https://github.com/c-ares/c-ares/pull/709) 291cb0ef41Sopenharmony_ci* CMake: don't override target output locations if not top-level. [Issue #708](https://github.com/c-ares/c-ares/issues/708) 301cb0ef41Sopenharmony_ci* Fix building c-ares without thread support. [PR #700](https://github.com/c-ares/c-ares/pull/700) 311cb0ef41Sopenharmony_ci 321cb0ef41Sopenharmony_ciThanks go to these friendly people for their efforts and contributions for this release: 331cb0ef41Sopenharmony_ci 341cb0ef41Sopenharmony_ci* Anthony Alayo (@anthonyalayo) 351cb0ef41Sopenharmony_ci* Brad House (@bradh352) 361cb0ef41Sopenharmony_ci* Cheng Zhao (@zcbenz) 371cb0ef41Sopenharmony_ci* Cristian Rodríguez (@crrodriguez) 381cb0ef41Sopenharmony_ci* Daniel Stenberg (@bagder) 391cb0ef41Sopenharmony_ci* Oliver Welsh (@oliverwelsh) 401cb0ef41Sopenharmony_ci* Vojtěch Vobr (@vojtechvobr) 41