From 4e35ff869b27114059f49fa3e7adefa98bd0db6e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sat, 4 Mar 2023 19:03:18 +0800 Subject: [PATCH] c-ares: upgrade 1.18.1 -> 1.19.0 Changelog: ========= Security: ---------- Low. Stack overflow in ares_set_sortlist() which is used during c-ares initialization and typically provided by an administrator and not an end user. Changes: ---------- Windows: Drop support for XP and derivatives which greatly cleans up initialization code. Add ARES_OPT_HOSTS_FILE similar to ARES_OPT_RESOLVCONF for specifying a custom hosts file location. Add vcpkg installation instructions Bug fixes: ------------ Fix cross-compilation from Windows to Linux due to CPACK logic. Fix memory leak in reading /etc/hosts when using localhost fallback. Fix chain building c-ares when libresolv is already included by another project File lookup should not immediately abort as there may be other tries due to search criteria. Asterisks should be allowed in host validation as CNAMEs may reference wildcard domains AutoTools build system referenced bad STDC_HEADERS macro Even if one address class returns a failure for ares_getaddrinfo() we should still return the results we have CMake Windows: DLLs did not include resource file to include versions CMake: Guard target creation in exported config Fix ares_getaddrinfo() numerical address resolution with AF_UNSPEC Apple: fix libresolv configured query times. Fix tools and help information Various documentation fixes and cleanups Add include guards to ares_data.h c-ares could try to exceed maximum number of iovec entries supported by system CMake package config generation allow for absolute install paths Intel compiler fixes ares_strsplit bugs The RFC6761 6.3 states localhost subdomains must be offline too. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../c-ares/{c-ares_1.18.1.bb => c-ares_1.19.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-support/c-ares/{c-ares_1.18.1.bb => c-ares_1.19.0.bb} (91%) diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.18.1.bb b/meta-oe/recipes-support/c-ares/c-ares_1.19.0.bb similarity index 91% rename from meta-oe/recipes-support/c-ares/c-ares_1.18.1.bb rename to meta-oe/recipes-support/c-ares/c-ares_1.19.0.bb index 2cd00cb578..bb19ff1bd3 100644 --- a/meta-oe/recipes-support/c-ares/c-ares_1.18.1.bb +++ b/meta-oe/recipes-support/c-ares/c-ares_1.19.0.bb @@ -6,7 +6,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fb997454c8d62aa6a47f07a8cd48b006" SRC_URI = "git://github.com/c-ares/c-ares.git;branch=main;protocol=https" -SRCREV = "2aa086f822aad5017a6f2061ef656f237a62d0ed" +SRCREV = "fddf01938d3789e06cc1c3774e4cd0c7d2a89976" UPSTREAM_CHECK_GITTAGREGEX = "cares-(?P\d+_(\d_?)+)"