8000 [3.11] gh-131261: Update libexpat to 2.7.0 (CVE-2024-8176) (GH-131272… · python/cpython@ba49eab · GitHub
[go: up one dir, main page]

Skip to content

Commit ba49eab

Browse files
sethmlarsonencukougpshead
authored
[3.11] gh-131261: Update libexpat to 2.7.0 (CVE-2024-8176) (GH-131272) (GH-131362)
(cherry picked from commit bb0268f) (cherry picked from commit 6af54d2) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 0a66052 commit ba49eab

File tree

4 files changed

+425
-160
lines changed

4 files changed

+425
-160
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade to libexpat 2.7.0

Modules/expat/expat.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
Copyright (c) 2000-2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
1212
Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
1313
Copyright (c) 2002-2016 Karl Waclawek <karl@waclawek.net>
14-
Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
14+
Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
1515
Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
1616
Copyright (c) 2016 Thomas Beutlich <tc@tbeu.de>
1717
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
@@ -1067,8 +1067,8 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
10671067
See https://semver.org
10681068
*/
10691069
#define XML_MAJOR_VERSION 2
1070-
#define XML_MINOR_VERSION 6
1071-
#define XML_MICRO_VERSION 4
1070+
#define XML_MINOR_VERSION 7
1071+
#define XML_MICRO_VERSION 0
10721072

10731073
#ifdef __cplusplus
10741074
}

Modules/expat/refresh.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ fi
1212

1313
# Update this when updating to a new version after verifying that the changes
1414
# the update brings in are good. These values are used for verifying the SBOM, too.
15-
expected_libexpat_tag="R_2_6_4"
16-
expected_libexpat_version="2.6.4"
17-
expected_libexpat_sha256="fd03b7172b3bd7427a3e7a812063f74754f24542429b634e0db6511b53fb2278"
15+
expected_libexpat_tag="R_2_7_0"
16+
expected_libexpat_version="2.7.0"
17+
expected_libexpat_sha256="362e89ca6b8a0d46fc5740a917eb2a8b4d6356edbe016eee09f49c0781215844"
1818

1919
expat_dir="$(realpath "$(dirname -- "${BASH_SOURCE[0]}")")"
2020
cd ${expat_dir}

0 commit comments

Comments
 (0)
0