GeezerVison is showing github.com — deps: update c-ares to 1.20.1 · nodejs/node@04227b2
File treeExpand file treeCollapse file tree Open diff view settings doc/contributing/maintaining
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: deps/cares/CHANGES +40-29Lines changed: 40 additions & 29 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | Changelog for the c-ares project. Generated with git2changes.pl | 2 | 2 |
| | 3 | +Version 1.20.1 (8 Oct 2023) | | 4 | + | | 5 | +GitHub (8 Oct 2023) | | 6 | +- [Daniel Stenberg brought this change] | | 7 | + | | 8 | + ares-test: silence warning (#564) | | 9 | + | | 10 | + warning: comparison of integer expressions of different signedness | | 11 | + | | 12 | + Fix By: Daniel Stenberg (@bagder) | | 13 | + | | 14 | +Brad House (8 Oct 2023) | | 15 | +- fix README.md | | 16 | + | | 17 | +GitHub (8 Oct 2023) | | 18 | +- [Brad House brought this change] | | 19 | + | | 20 | + 1.20.1 release (#563) | | 21 | + | | 22 | +- [Brad House brought this change] | | 23 | + | | 24 | + fix reference to freed memory (#562) | | 25 | + | | 26 | + Issue #561 shows free'd memory could be accessed in some error conditions. | | 27 | + | | 28 | + Fixes Issue #561 | | 29 | + Fix By: Brad House (@bradh352) | | 30 | + | | 31 | +Brad House (8 Oct 2023) | | 32 | +- reported build/test systems may timeout on intensive tests. reduce test case to still be relevant but to reduce false positive errors | | 33 | + | | 34 | +GitHub (8 Oct 2023) | | 35 | +- [Gregor Jasny brought this change] | | 36 | + | | 37 | + Regression: Fix typo in fuzzcheck target name (#559) | | 38 | + | | 39 | + This seems to be a vim'esque typo introduced with c1b00c41. | | 40 | + | | 41 | + Fix By: Gregor Jasny (@gjasny) | | 42 | + | 3 | 43 | Version 1.20.0 (6 Oct 2023) | 4 | 44 |
| 5 | 45 | Brad House (6 Oct 2023) | @@ -5665,32 +5705,3 @@ Ben Greear (30 Jul 2010) | 5665 | 5705 | - ipv6: Fix some build issues related to the local-bind feature. | 5666 | 5706 |
| 5667 | 5707 | | 5668 | | - | 5669 | | -Guenter Knauf (29 Jul 2010) | 5670 | | -- Replaced uint32_t with unsigned int to fix broken builds on a couple of platforms. | 5671 | | - | 5672 | | -Daniel Stenberg (18 Jul 2010) | 5673 | | -- [Ben Greear brought this change] | 5674 | | - | 5675 | | - local-bind: Support binding to local interface/IPs | 5676 | | - | 5677 | | - Add 3 new functions to set the local binding for the out-going | 5678 | | - socket connection, and add ares_set_servers_csv() to set a | 5679 | | - list of servers at once as a comma-separated string. | 5680 | | - | 5681 | | - | 5682 | | - | 5683 | | -- version: now start on 1.7.4 | 5684 | | - | 5685 | | -- [Andrew C. Morrow brought this change] | 5686 | | - | 5687 | | - fix memory leak in ares_getnameinfo | 5688 | | - | 5689 | | -Version 1.7.3 (11 Jun 2010) | 5690 | | - | 5691 | | -Daniel Stenberg (11 Jun 2010) | 5692 | | -- changelogs: updated for 1.7.3 | 5693 | | - | 5694 | | -- [BogDan Vatra brought this change] | 5695 | | - | 5696 | | - init: allow c-ares to work on Android OS | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/CMakeLists.txt +3-3Lines changed: 3 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,10 +10,10 @@ INCLUDE (CheckCSourceCompiles) | 10 | 10 | INCLUDE (CheckStructHasMember) | 11 | 11 | INCLUDE (CheckLibraryExists) | 12 | 12 |
| 13 | | -PROJECT (c-ares LANGUAGES C VERSION "1.20.0" ) | | 13 | +PROJECT (c-ares LANGUAGES C VERSION "1.20.1" ) | 14 | 14 |
| 15 | 15 | # Set this version before release | 16 | | -SET (CARES_VERSION "1.20.0") | | 16 | +SET (CARES_VERSION "1.20.1") | 17 | 17 |
| 18 | 18 | INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are wrong. | 19 | 19 |
| @@ -28,7 +28,7 @@ INCLUDE (GNUInstallDirs) # include this *AFTER* PROJECT(), otherwise paths are w | 28 | 28 | # For example, a version of 4:0:2 would generate output such as: | 29 | 29 | # libname.so -> libname.so.2 | 30 | 30 | # libname.so.2 -> libname.so.2.2.0 | 31 | | -SET (CARES_LIB_VERSIONINFO "9:0:7") | | 31 | +SET (CARES_LIB_VERSIONINFO "9:1:7") | 32 | 32 |
| 33 | 33 |
| 34 | 34 | OPTION (CARES_STATIC "Build as a static library" OFF) | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/README.md +1-3Lines changed: 1 addition & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | [](https://coveralls.io/github/c-ares/c-ares) | 7 | 7 | [](https://bestpractices.coreinfrastructure.org/projects/291) | 8 | 8 | [](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:c-ares) | 9 | | -[](https://coderelease.io/github/repository/c-ares/c-ares) | 10 | 9 |
| 11 | 10 | This is c-ares, an asynchronous resolver library. It is intended for | 12 | 11 | applications which need to perform DNS queries without blocking, or need to | @@ -22,8 +21,7 @@ If you find bugs, correct flaws, have questions or have comments in general in | 22 | 21 | regard to c-ares (or by all means the original ares too), get in touch with us | 23 | 22 | on the c-ares mailing list: https://lists.haxx.se/listinfo/c-ares | 24 | 23 |
| 25 | | -c-ares is of course distributed under the same MIT-style license as the | 26 | | -original ares. | | 24 | +c-ares is distributed the MIT license. | 27 | 25 |
| 28 | 26 | You'll find all c-ares details and news here: | 29 | 27 | https://c-ares.org/ | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/RELEASE-NOTES +15-1Lines changed: 15 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | | -c-ares version 1.20.0 | | 1 | +c-ares version 1.20.1 | | 2 | + | | 3 | +This release resolves a significant issue in the 1.20.0 release. | | 4 | + | | 5 | +Bug fixes: | | 6 | + o Resolve use-after-free issue when TCP connection is terminated before a | | 7 | + response is returned [17] | | 8 | + o Reduce number of queries for a load test case to prevent overloading some | | 9 | + build systems | | 10 | + o Fix fuzz test build target [18] | | 11 | + | | 12 | + | | 13 | +c-ares 1.20.0 notes below: | 2 | 14 |
| 3 | 15 | This is a feature and bugfix release with some significant internal changes. | 4 | 16 |
| @@ -58,3 +70,5 @@ References to bug reports and discussions on issues: | 58 | 70 | [14] = https://github.com/c-ares/c-ares/pull/526 | 59 | 71 | [15] = https://github.com/c-ares/c-ares/pull/525 | 60 | 72 | [16] = https://github.com/c-ares/c-ares/pull/524 | | 73 | + [17] = https://github.com/c-ares/c-ares/pull/562 | | 74 | + [18] = https://github.com/c-ares/c-ares/pull/559 |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/aminclude_static.am +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 |
| 2 | 2 | # aminclude_static.am generated automatically by Autoconf | 3 | | -# from AX_AM_MACROS_STATIC on Sat Oct 7 13:50:28 CEST 2023 | | 3 | +# from AX_AM_MACROS_STATIC on Sun Oct 8 23:23:39 CEST 2023 | 4 | 4 |
| 5 | 5 |
| 6 | 6 | # Code coverage | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/configure +11-11Lines changed: 11 additions & 11 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | #! /bin/sh | 2 | 2 | # Guess values for system-dependent variables and create Makefiles. | 3 | | -# Generated by GNU Autoconf 2.71 for c-ares 1.20.0. | | 3 | +# Generated by GNU Autoconf 2.71 for c-ares 1.20.1. | 4 | 4 | # | 5 | 5 | # Report bugs to <c-ares mailing list: http://lists.haxx.se/listinfo/c-ares>. | 6 | 6 | # | @@ -855,8 +855,8 @@ MAKEFLAGS= | 855 | 855 | # Identity of this package. | 856 | 856 | PACKAGE_NAME='c-ares' | 857 | 857 | PACKAGE_TARNAME='c-ares' | 858 | | -PACKAGE_VERSION='1.20.0' | 859 | | -PACKAGE_STRING='c-ares 1.20.0' | | 858 | +PACKAGE_VERSION='1.20.1' | | 859 | +PACKAGE_STRING='c-ares 1.20.1' | 860 | 860 | PACKAGE_BUGREPORT='c-ares mailing list: http://lists.haxx.se/listinfo/c-ares' | 861 | 861 | PACKAGE_URL='' | 862 | 862 |
| @@ -1650,7 +1650,7 @@ if test "$ac_init_help" = "long"; then | 1650 | 1650 | # Omit some internal or obsolete options to make the list less imposing. | 1651 | 1651 | # This message is too long to be a string in the A/UX 3.1 sh. | 1652 | 1652 | cat <<_ACEOF | 1653 | | -\`configure' configures c-ares 1.20.0 to adapt to many kinds of systems. | | 1653 | +\`configure' configures c-ares 1.20.1 to adapt to many kinds of systems. | 1654 | 1654 |
| 1655 | 1655 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1656 | 1656 |
| | 1721 | 1721 |
| 1722 | 1722 | if test -n "$ac_init_help"; then | 1723 | 1723 | case $ac_init_help in | 1724 | | - short | recursive ) echo "Configuration of c-ares 1.20.0:";; | | 1724 | + short | recursive ) echo "Configuration of c-ares 1.20.1:";; | 1725 | 1725 | esac | 1726 | 1726 | cat <<\_ACEOF | 1727 | 1727 |
| | 1861 | 1861 | test -n "$ac_init_help" && exit $ac_status | 1862 | 1862 | if $ac_init_version; then | 1863 | 1863 | cat <<\_ACEOF | 1864 | | -c-ares configure 1.20.0 | | 1864 | +c-ares configure 1.20.1 | 1865 | 1865 | generated by GNU Autoconf 2.71 | 1866 | 1866 |
| 1867 | 1867 | Copyright (C) 2021 Free Software Foundation, Inc. | @@ -2453,7 +2453,7 @@ cat >config.log <<_ACEOF | 2453 | 2453 | This file contains any messages produced by compilers while | 2454 | 2454 | running configure, to aid debugging if configure makes a mistake. | 2455 | 2455 |
| 2456 | | -It was created by c-ares $as_me 1.20.0, which was | | 2456 | +It was created by c-ares $as_me 1.20.1, which was | 2457 | 2457 | generated by GNU Autoconf 2.71. Invocation command line was | 2458 | 2458 |
| 2459 | 2459 | $ $0$ac_configure_args_raw | @@ -3426,7 +3426,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3426 | 3426 |
| 3427 | 3427 |
| 3428 | 3428 |
| 3429 | | -CARES_VERSION_INFO="9:0:7" | | 3429 | +CARES_VERSION_INFO="9:1:7" | 3430 | 3430 |
| 3431 | 3431 |
| 3432 | 3432 |
| | 7060 | 7060 |
| 7061 | 7061 | # Define the identity of the package. | 7062 | 7062 | PACKAGE='c-ares' | 7063 | | - VERSION='1.20.0' | | 7063 | + VERSION='1.20.1' | 7064 | 7064 |
| 7065 | 7065 |
| 7066 | 7066 | printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h | @@ -35354,7 +35354,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 35354 | 35354 | # report actual input values of CONFIG_FILES etc. instead of their | 35355 | 35355 | # values after options handling. | 35356 | 35356 | ac_log=" | 35357 | | -This file was extended by c-ares $as_me 1.20.0, which was | | 35357 | +This file was extended by c-ares $as_me 1.20.1, which was | 35358 | 35358 | generated by GNU Autoconf 2.71. Invocation command line was | 35359 | 35359 |
| 35360 | 35360 | CONFIG_FILES = $CONFIG_FILES | @@ -35422,7 +35422,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ | 35422 | 35422 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 35423 | 35423 | ac_cs_config='$ac_cs_config_escaped' | 35424 | 35424 | ac_cs_version="\\ | 35425 | | -c-ares config.status 1.20.0 | | 35425 | +c-ares config.status 1.20.1 | 35426 | 35426 | configured by $0, generated by GNU Autoconf 2.71, | 35427 | 35427 | with options \\"\$ac_cs_config\\" | 35428 | 35428 |
| |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/configure.ac +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 20 | 20 | ############################################################# | 21 | 21 | AC_PREREQ([2.60]) | 22 | 22 |
| 23 | | -AC_INIT([c-ares], [1.20.0], | | 23 | +AC_INIT([c-ares], [1.20.1], | 24 | 24 | [c-ares mailing list: http://lists.haxx.se/listinfo/c-ares]) | 25 | 25 |
| 26 | | -CARES_VERSION_INFO="9:0:7" | | 26 | +CARES_VERSION_INFO="9:1:7" | 27 | 27 | dnl This flag accepts an argument of the form current[:revision[:age]]. So, | 28 | 28 | dnl passing -version-info 3:12:1 sets current to 3, revision to 12, and age to | 29 | 29 | dnl 1. | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/include/ares_version.h +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 32 | 32 |
| 33 | 33 | #define ARES_VERSION_MAJOR 1 | 34 | 34 | #define ARES_VERSION_MINOR 20 | 35 | | -#define ARES_VERSION_PATCH 0 | | 35 | +#define ARES_VERSION_PATCH 1 | 36 | 36 | #define ARES_VERSION ((ARES_VERSION_MAJOR<<16)|\ | 37 | 37 | (ARES_VERSION_MINOR<<8)|\ | 38 | 38 | (ARES_VERSION_PATCH)) | 39 | | -#define ARES_VERSION_STR "1.20.0" | | 39 | +#define ARES_VERSION_STR "1.20.1" | 40 | 40 |
| 41 | 41 | #if (ARES_VERSION >= 0x010700) | 42 | 42 | # define CARES_HAVE_ARES_LIBRARY_INIT 1 | |
Collapse file Copy file name to clipboardExpand all lines: deps/cares/src/lib/ares_process.c +7-6Lines changed: 7 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -444,7 +444,7 @@ static void read_udp_packets_fd(ares_channel channel, | 444 | 444 | continue; | 445 | 445 |
| 446 | 446 | handle_error(conn, now); | 447 | | - | | 447 | + return; | 448 | 448 | #ifdef HAVE_RECVFROM | 449 | 449 | } else if (!same_address(&from.sa, &conn->server->addr)) { | 450 | 450 | /* The address the response comes from does not match the address we | @@ -682,9 +682,10 @@ static void process_answer(ares_channel channel, const unsigned char *abuf, | 682 | 682 | static void handle_error(struct server_connection *conn, | 683 | 683 | struct timeval *now) | 684 | 684 | { | 685 | | - ares_channel channel = conn->server->channel; | 686 | | - ares__llist_t *list_copy; | 687 | | - ares__llist_node_t *node; | | 685 | + ares_channel channel = conn->server->channel; | | 686 | + struct server_state *server = conn->server; | | 687 | + ares__llist_t *list_copy; | | 688 | + ares__llist_node_t *node; | 688 | 689 |
| 689 | 690 | /* We steal the list from the connection then close the connection, then | 690 | 691 | * iterate across the list to requeue any inflight queries with the broken | @@ -697,8 +698,8 @@ static void handle_error(struct server_connection *conn, | 697 | 698 | while ((node = ares__llist_node_first(list_copy)) != NULL) { | 698 | 699 | struct query *query = ares__llist_node_val(node); | 699 | 700 |
| 700 | | - assert(query->server == (int)conn->server->idx); | 701 | | - skip_server(channel, query, conn->server); | | 701 | + assert(query->server == (int)server->idx); | | 702 | + skip_server(channel, query, server); | 702 | 703 | /* next_server will remove the current node from the list */ | 703 | 704 | next_server(channel, query, now); | 704 | 705 | } | |
Collapse file Copy file name to clipboardExpand all lines: doc/contributing/maintaining/maintaining-dependencies.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -12,7 +12,7 @@ This a list of all the dependencies: | 12 | 12 | * [ada 2.7.2][] | 13 | 13 | * [base64][] | 14 | 14 | * [brotli][] | 15 | | -* [c-ares 1.20.0][] | | 15 | +* [c-ares 1.20.1][] | 16 | 16 | * [cjs-module-lexer][] | 17 | 17 | * [corepack][] | 18 | 18 | * [googletest][] | @@ -165,7 +165,7 @@ length-delimited strings. | 165 | 165 | The [brotli](https://github.com/google/brotli) dependency is | 166 | 166 | used for the homonym generic-purpose lossless compression algorithm. | 167 | 167 |
| 168 | | -### c-ares 1.20.0 | | 168 | +### c-ares 1.20.1 | 169 | 169 |
| 170 | 170 | The [c-ares](https://github.com/c-ares/c-ares) is a C library | 171 | 171 | for asynchronous DNS requests. | @@ -315,7 +315,7 @@ performance improvements not currently available in standard zlib. | 315 | 315 | [ada 2.7.2]: #ada-272 | 316 | 316 | [base64]: #base64 | 317 | 317 | [brotli]: #brotli | 318 | | -[c-ares 1.20.0]: #c-ares-1200 | | 318 | +[c-ares 1.20.1]: #c-ares-1200 | 319 | 319 | [cjs-module-lexer]: #cjs-module-lexer | 320 | 320 | [corepack]: #corepack | 321 | 321 | [dependency-update-action]: ../../../.github/workflows/tools.yml | |
|