deps: update c-ares to v1.34.5 · nodejs/node@678d82b · GitHub
Skip to content

Commit 678d82b

Browse files
nodejs-github-botRafaelGSS
authored andcommitted
deps: update c-ares to v1.34.5
PR-URL: #57792 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d50b8a8 commit 678d82b

49 files changed

Lines changed: 848 additions & 446 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

deps/cares/CMakeLists.txt

Lines changed: 12 additions & 10 deletions

deps/cares/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ EGREP = @EGREP@
329329
ETAGS = @ETAGS@
330330
EXEEXT = @EXEEXT@
331331
FGREP = @FGREP@
332+
FILECMD = @FILECMD@
332333
GCOV = @GCOV@
333334
GENHTML = @GENHTML@
334335
GMOCK112_CFLAGS = @GMOCK112_CFLAGS@

deps/cares/Makefile.m32

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ RANLIB = $(CROSSPREFIX)ranlib
1919
#RM = rm -f
2020
CP = cp -afv
2121

22-
CFLAGS = $(CARES_CFLAG_EXTRAS) -O2 -Wall -I./include -I./src/lib -I./src/lib/include -D_WIN32_WINNT=0x0602
22+
WIN32_WINNT ?= 0x0602
23+
24+
CFLAGS = $(CARES_CFLAG_EXTRAS) -O2 -Wall -I./include -I./src/lib -I./src/lib/include -D_WIN32_WINNT=$(WIN32_WINNT)
2325
CFLAGS += -DCARES_STATICLIB
2426
LDFLAGS = $(CARES_LDFLAG_EXTRAS) -s
2527
LIBS = -lws2_32 -liphlpapi

deps/cares/RELEASE-NOTES.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
1-
## c-ares version 1.34.4 - December 14 2024
1+
## c-ares version 1.34.5 - April 8 2025
22

3-
This is a bugfix release.
3+
This is a security release.
4+
5+
Security:
6+
* CVE-2025-31498. A use-after-free bug has been uncovered in read_answers() that
7+
was introduced in v1.32.3. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-6hxc-62jh-p29v
48

59
Changes:
6-
* QNX Port: Port to QNX 8, add primary config reading support, add CI build. [PR #934](https://github.com/c-ares/c-ares/pull/934), [PR #937](https://github.com/c-ares/c-ares/pull/937), [PR #938](https://github.com/c-ares/c-ares/pull/938)
10+
* Restore Windows XP support. [PR #958](https://github.com/c-ares/c-ares/pull/958)
711

812
Bugfixes:
9-
* Empty TXT records were not being preserved. [PR #922](https://github.com/c-ares/c-ares/pull/922)
10-
* docs: update deprecation notices for `ares_create_query()` and `ares_mkquery()`. [PR #910](https://github.com/c-ares/c-ares/pull/910)
11-
* license: some files weren't properly updated. [PR #920](https://github.com/c-ares/c-ares/pull/920)
12-
* Fix bind local device regression from 1.34.0. [PR #929](https://github.com/c-ares/c-ares/pull/929), [PR #931](https://github.com/c-ares/c-ares/pull/931), [PR #935](https://github.com/c-ares/c-ares/pull/935)
13-
* CMake: set policy version to prevent deprecation warnings. [PR #932](https://github.com/c-ares/c-ares/pull/932)
14-
* CMake: shared and static library names should be the same on unix platforms like autotools uses. [PR #933](https://github.com/c-ares/c-ares/pull/933)
15-
* Update to latest autoconf archive macros for enhanced system compatibility. [PR #936](https://github.com/c-ares/c-ares/pull/936)
13+
* A missing mutex initialization would make busy polling for configuration
14+
changes (platforms other than Windows, Linux, MacOS) eat too much CPU
15+
[PR #974](https://github.com/c-ares/c-ares/pull/974)
16+
* Pkgconfig may be generated wrong for static builds in relation to `-pthread`
17+
[PR #965](https://github.com/c-ares/c-ares/pull/965)
18+
* Localhost resolution can fail if only one address family is in `/etc/hosts`
19+
[PR #947](https://github.com/c-ares/c-ares/pull/947)
1620

1721
Thanks go to these friendly people for their efforts and contributions for this
1822
release:
1923

2024
* Brad House (@bradh352)
21-
* Daniel Stenberg (@bagder)
22-
* Gregor Jasny (@gjasny)
23-
* @marcovsz
24-
* Nikolaos Chatzikonstantinou (@createyourpersonalaccount)
25-
* @vlasovsoft1979
25+
* Erik Lax (@eriklax)
26+
* Florian Pfisterer (@FlorianPfisterer)
27+
* Kai Pastor (@dg0yt)
28+

deps/cares/aminclude_static.am

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)