@crossbind/port-expat-wasm 2.0.0-beta.58 → 2.0.0-beta.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prebuilt/CMakeLists.txt +1 -1
- package/dist/prebuilt/wasm-wasm32-mt-release/crossbind-source.fingerprint +1 -1
- package/dist/prebuilt/wasm-wasm32-mt-release/include/expat.h +7 -1
- package/dist/prebuilt/wasm-wasm32-mt-release/include/expat_config.h +2 -2
- package/dist/prebuilt/wasm-wasm32-mt-release/include/expat_external.h +12 -0
- package/dist/prebuilt/wasm-wasm32-mt-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-config-version.cmake +3 -3
- package/dist/prebuilt/wasm-wasm32-mt-release/lib/libexpat.a +0 -0
- package/dist/prebuilt/wasm-wasm32-mt-release/lib/pkgconfig/expat.pc +1 -1
- package/dist/prebuilt/wasm-wasm32-mt-release/share/doc/expat/changelog +86 -1
- package/dist/prebuilt/wasm-wasm32-st-release/crossbind-source.fingerprint +1 -1
- package/dist/prebuilt/wasm-wasm32-st-release/include/expat.h +7 -1
- package/dist/prebuilt/wasm-wasm32-st-release/include/expat_config.h +2 -2
- package/dist/prebuilt/wasm-wasm32-st-release/include/expat_external.h +12 -0
- package/dist/prebuilt/wasm-wasm32-st-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-config-version.cmake +3 -3
- package/dist/prebuilt/wasm-wasm32-st-release/lib/libexpat.a +0 -0
- package/dist/prebuilt/wasm-wasm32-st-release/lib/pkgconfig/expat.pc +1 -1
- package/dist/prebuilt/wasm-wasm32-st-release/share/doc/expat/changelog +86 -1
- package/package.json +4 -4
- /package/dist/prebuilt/wasm-wasm32-mt-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-config.cmake +0 -0
- /package/dist/prebuilt/wasm-wasm32-mt-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-release.cmake +0 -0
- /package/dist/prebuilt/wasm-wasm32-mt-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat.cmake +0 -0
- /package/dist/prebuilt/wasm-wasm32-st-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-config.cmake +0 -0
- /package/dist/prebuilt/wasm-wasm32-st-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat-release.cmake +0 -0
- /package/dist/prebuilt/wasm-wasm32-st-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat.cmake +0 -0
|
@@ -51,7 +51,7 @@ if(NOT PACKAGE_HOST_INDEX EQUAL -1)
|
|
|
51
51
|
target_link_libraries("${PROJECT_NAME}" INTERFACE "${PROJECT_LIBS_DIR}")
|
|
52
52
|
endif()
|
|
53
53
|
|
|
54
|
-
if(NOT APPLE)
|
|
54
|
+
if(NOT (APPLE AND CMAKE_SYSTEM_NAME STREQUAL "iOS"))
|
|
55
55
|
target_include_directories("${PROJECT_NAME}" INTERFACE "${PROJECT_SOURCE_DIR}/${PROJECT_TARGET_HOST}/include")
|
|
56
56
|
endif()
|
|
57
57
|
endif()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4f1d9c23ac3254bc7a76b76c9be59df1d38190282ef5e199f57ccab1bda192e6
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
|
|
21
21
|
Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
|
|
22
22
|
Copyright (c) 2025 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
23
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
23
24
|
Licensed under the MIT license:
|
|
24
25
|
|
|
25
26
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -921,7 +922,9 @@ XML_SetParamEntityParsing(XML_Parser parser,
|
|
|
921
922
|
Returns 1 if successful, 0 when called after parsing has started.
|
|
922
923
|
Note: If parser == NULL, the function will do nothing and return 0.
|
|
923
924
|
DEPRECATED since Expat 2.8.0.
|
|
925
|
+
Please use XML_SetHashSalt16Bytes instead.
|
|
924
926
|
*/
|
|
927
|
+
XML_ATTR_DEPRECATED("please use XML_SetHashSalt16Bytes instead")
|
|
925
928
|
XMLPARSEAPI(int)
|
|
926
929
|
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
|
|
927
930
|
|
|
@@ -1040,8 +1043,11 @@ enum XML_FeatureEnum {
|
|
|
1040
1043
|
XML_FEATURE_MIN_SIZE,
|
|
1041
1044
|
XML_FEATURE_SIZEOF_XML_CHAR,
|
|
1042
1045
|
XML_FEATURE_SIZEOF_XML_LCHAR,
|
|
1046
|
+
/* Added in Expat 2.0.0. */
|
|
1043
1047
|
XML_FEATURE_NS,
|
|
1048
|
+
/* Added in Expat 2.0.1. */
|
|
1044
1049
|
XML_FEATURE_LARGE_SIZE,
|
|
1050
|
+
/* Added in Expat 2.1.0. */
|
|
1045
1051
|
XML_FEATURE_ATTR_INFO,
|
|
1046
1052
|
/* Added in Expat 2.4.0. */
|
|
1047
1053
|
XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_MAXIMUM_AMPLIFICATION_DEFAULT,
|
|
@@ -1096,7 +1102,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
|
|
|
1096
1102
|
*/
|
|
1097
1103
|
# define XML_MAJOR_VERSION 2
|
|
1098
1104
|
# define XML_MINOR_VERSION 8
|
|
1099
|
-
# define XML_MICRO_VERSION
|
|
1105
|
+
# define XML_MICRO_VERSION 5
|
|
1100
1106
|
|
|
1101
1107
|
# ifdef __cplusplus
|
|
1102
1108
|
}
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
#define PACKAGE_NAME "expat"
|
|
71
71
|
|
|
72
72
|
/* Define to the full name and version of this package. */
|
|
73
|
-
#define PACKAGE_STRING "expat 2.8.
|
|
73
|
+
#define PACKAGE_STRING "expat 2.8.5"
|
|
74
74
|
|
|
75
75
|
/* Define to the one symbol short name of this package. */
|
|
76
76
|
#define PACKAGE_TARNAME "expat"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
# define PACKAGE_URL ""
|
|
80
80
|
|
|
81
81
|
/* Define to the version of this package. */
|
|
82
|
-
#define PACKAGE_VERSION "2.8.
|
|
82
|
+
#define PACKAGE_VERSION "2.8.5"
|
|
83
83
|
|
|
84
84
|
/* Define to 1 if you have the ANSI C header files. */
|
|
85
85
|
# ifndef STDC_HEADERS
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
|
|
17
17
|
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
|
|
18
18
|
Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
19
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
19
20
|
Licensed under the MIT license:
|
|
20
21
|
|
|
21
22
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -125,6 +126,17 @@
|
|
|
125
126
|
# define XML_ATTR_ALLOC_SIZE(x)
|
|
126
127
|
# endif
|
|
127
128
|
|
|
129
|
+
/* Marks a function that Expat still provides but that callers should move off
|
|
130
|
+
of. */
|
|
131
|
+
# if defined(__clang__) || defined(__GNUC__)
|
|
132
|
+
# define XML_ATTR_DEPRECATED(message) \
|
|
133
|
+
__attribute__((__deprecated__(message)))
|
|
134
|
+
# elif defined(_MSC_VER)
|
|
135
|
+
# define XML_ATTR_DEPRECATED(message) __declspec(deprecated(message))
|
|
136
|
+
# else
|
|
137
|
+
# define XML_ATTR_DEPRECATED(message) // empty i.e. no deprecation
|
|
138
|
+
# endif
|
|
139
|
+
|
|
128
140
|
# define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
|
|
129
141
|
|
|
130
142
|
# ifdef __cplusplus
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
# The variable CVF_VERSION must be set before calling configure_file().
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
set(PACKAGE_VERSION "2.8.
|
|
12
|
+
set(PACKAGE_VERSION "2.8.5")
|
|
13
13
|
|
|
14
14
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
|
15
15
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
16
16
|
else()
|
|
17
17
|
|
|
18
|
-
if("2.8.
|
|
18
|
+
if("2.8.5" MATCHES "^([0-9]+)\\.")
|
|
19
19
|
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
|
20
20
|
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
|
21
21
|
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
|
22
22
|
endif()
|
|
23
23
|
else()
|
|
24
|
-
set(CVF_VERSION_MAJOR "2.8.
|
|
24
|
+
set(CVF_VERSION_MAJOR "2.8.5")
|
|
25
25
|
endif()
|
|
26
26
|
|
|
27
27
|
if(PACKAGE_FIND_VERSION_RANGE)
|
|
Binary file
|
|
@@ -13,9 +13,94 @@
|
|
|
13
13
|
!! will be funded by the City of Munich as part of their !!
|
|
14
14
|
!! Open Source Sabbatical (https://opensource.muenchen.de/sabbatical.html) !!
|
|
15
15
|
!! — thank you! !!
|
|
16
|
-
!!
|
|
16
|
+
!! !!
|
|
17
|
+
!! If your business relies on Expat beyond January 2027, please consider !!
|
|
18
|
+
!! funding the maintenance of Expat to ensure its health and security for !!
|
|
19
|
+
!! you and others. Thank you! !!
|
|
20
|
+
!! !!
|
|
21
|
+
!! Sebastian Pipping -- Berlin, 2026-09-22 !!
|
|
17
22
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
18
23
|
|
|
24
|
+
Release 2.8.5 Tue September 22 2026
|
|
25
|
+
Security fixes:
|
|
26
|
+
#1282 CVE-2026-93990 -- Reject high surrogates not followed by a
|
|
27
|
+
low surrogate during UTF-16 decoding; previously, malformed
|
|
28
|
+
UTF-16 could be smuggled into the application using Expat
|
|
29
|
+
and could cause arbitrary damage there, depending on how
|
|
30
|
+
malformed UTF-16 was handled inside the application;
|
|
31
|
+
validation was not their job but Expat's. This is similar
|
|
32
|
+
to past vulnerability CVE-2022-25235.
|
|
33
|
+
Upstream CVSS 3.1 vector:
|
|
34
|
+
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS score: 9.8)
|
|
35
|
+
|
|
36
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
37
|
+
// The next release will drop two (disabled-by-default) features: //
|
|
38
|
+
// //
|
|
39
|
+
// - ATTR_INFO (-DXML_ATTR_INFO, -DEXPAT_ATTR_INFO, --enable-xml-attr-info, //
|
|
40
|
+
// function XML_GetAttributeInfo, struct XML_AttrInfo) //
|
|
41
|
+
// - MIN_SIZE (-DXML_MIN_SIZE, -DEXPAT_MIN_SIZE) //
|
|
42
|
+
// //
|
|
43
|
+
// If you need them in 2026 and beyond, please share your scenario at //
|
|
44
|
+
// GitHub issues #1370 (for ATTR_INFO) and/or #1379 (for MIN_SIZE). Thanks! //
|
|
45
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
46
|
+
|
|
47
|
+
Bug fixes:
|
|
48
|
+
#1346 lib: Fix OOM-related memory leak on a failed overflow check
|
|
49
|
+
#1371 lib: Fix memory alignment for architectures with 128bit
|
|
50
|
+
pointers like CHERI-RISC-V
|
|
51
|
+
#1367 xmlwf: Handle errors when closing output files
|
|
52
|
+
|
|
53
|
+
Other changes:
|
|
54
|
+
#1354 lib: Reject an XML declaration version other than `1.[0-9]+`
|
|
55
|
+
(which is less strict than XML 1.0r4 (fourth edition)
|
|
56
|
+
and matches XML 1.0r5 (fifth edition))
|
|
57
|
+
#1362 lib: Make Clang, GCC and MSVC warn about use of function
|
|
58
|
+
XML_SetHashSalt that is deprecated since Expat 2.8.0
|
|
59
|
+
#1357 lib: Drop internal macros FASTCALL, PTRCALL, PTRFASTCALL
|
|
60
|
+
#1367 xmlwf: Document that with `-k` the last error determines the
|
|
61
|
+
xmlwf exit code in `--help` output
|
|
62
|
+
#1367 xmlwf: Make exit code 3 documentation match exit code 2 more
|
|
63
|
+
closely in `--help` output
|
|
64
|
+
#1352 #1353 CMake|Windows: Refrain from adding `/source-charset:utf-8`
|
|
65
|
+
for MSVC
|
|
66
|
+
#1366 #1374 Autotools: Be explicit about the minimum required version of
|
|
67
|
+
GNU Automake, currently version 1.13 of 2012-12-28
|
|
68
|
+
#1351 Autotools|macOS: Sync CMake templates with CMake 4.4.3
|
|
69
|
+
#1349 Replace some internal use of XML_Bool with standard bool
|
|
70
|
+
#1364 tests: Propagate xmltest.sh failures via exit status
|
|
71
|
+
#1360 tests|xmlwf: Add `#include "expat_config.h"` where missing
|
|
72
|
+
#1355 tests: Start covering hash table operation
|
|
73
|
+
#1350 #1369 tests: Drop __cplusplus leftovers
|
|
74
|
+
#1378 tests: Fix tail pointer when unlinking the last tracked
|
|
75
|
+
allocation
|
|
76
|
+
#1376 docs: Emphasize that XML_StopParser is not immediate
|
|
77
|
+
#1381 docs: Sync XML_FeatureEnum value list in doc/reference.html
|
|
78
|
+
#1356 #1361 Version info bumped from 13:4:12 (libexpat*.so.1.12.4)
|
|
79
|
+
to 13:5:12 (libexpat*.so.1.12.5); see https://verbump.de/
|
|
80
|
+
for what these numbers do
|
|
81
|
+
|
|
82
|
+
Infrastructure:
|
|
83
|
+
#1347 Add missing .gitignore entries
|
|
84
|
+
#1360 CI: Detect missing `#include "expat_config.h"`
|
|
85
|
+
#1368 CI: Bump MinGW Clang from 23.0.1 to 23.1.1
|
|
86
|
+
#1377 CI: Bump Fil-C from 0.684 to 0.685
|
|
87
|
+
#1380 CI: Bump Cppcheck from 2.21.0 to 2.22.0
|
|
88
|
+
#1372 CI: Extract helper script `apply-htmltidy.sh`
|
|
89
|
+
#1366 #1374 Autotools: Start to also produce .tar.bz3 release tarballs
|
|
90
|
+
|
|
91
|
+
Special thanks to:
|
|
92
|
+
Afonso Januário
|
|
93
|
+
Braian Plaku
|
|
94
|
+
Florian Schmaus
|
|
95
|
+
Huang Wenbin
|
|
96
|
+
Kamila Szewczyk
|
|
97
|
+
Kartik Kenchi
|
|
98
|
+
Leo Camus
|
|
99
|
+
Matthew Fernandez
|
|
100
|
+
Stan Ulbrych
|
|
101
|
+
and
|
|
102
|
+
City of Munich Open Source Sabbatical
|
|
103
|
+
|
|
19
104
|
Release 2.8.4 Mon August 31 2026
|
|
20
105
|
Security fixes:
|
|
21
106
|
#1321 #1331 CVE-2026-66046, CVE-2026-76641 -- Fix quadratic runtime from
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4f1d9c23ac3254bc7a76b76c9be59df1d38190282ef5e199f57ccab1bda192e6
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
|
|
21
21
|
Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
|
|
22
22
|
Copyright (c) 2025 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
23
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
23
24
|
Licensed under the MIT license:
|
|
24
25
|
|
|
25
26
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -921,7 +922,9 @@ XML_SetParamEntityParsing(XML_Parser parser,
|
|
|
921
922
|
Returns 1 if successful, 0 when called after parsing has started.
|
|
922
923
|
Note: If parser == NULL, the function will do nothing and return 0.
|
|
923
924
|
DEPRECATED since Expat 2.8.0.
|
|
925
|
+
Please use XML_SetHashSalt16Bytes instead.
|
|
924
926
|
*/
|
|
927
|
+
XML_ATTR_DEPRECATED("please use XML_SetHashSalt16Bytes instead")
|
|
925
928
|
XMLPARSEAPI(int)
|
|
926
929
|
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
|
|
927
930
|
|
|
@@ -1040,8 +1043,11 @@ enum XML_FeatureEnum {
|
|
|
1040
1043
|
XML_FEATURE_MIN_SIZE,
|
|
1041
1044
|
XML_FEATURE_SIZEOF_XML_CHAR,
|
|
1042
1045
|
XML_FEATURE_SIZEOF_XML_LCHAR,
|
|
1046
|
+
/* Added in Expat 2.0.0. */
|
|
1043
1047
|
XML_FEATURE_NS,
|
|
1048
|
+
/* Added in Expat 2.0.1. */
|
|
1044
1049
|
XML_FEATURE_LARGE_SIZE,
|
|
1050
|
+
/* Added in Expat 2.1.0. */
|
|
1045
1051
|
XML_FEATURE_ATTR_INFO,
|
|
1046
1052
|
/* Added in Expat 2.4.0. */
|
|
1047
1053
|
XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_MAXIMUM_AMPLIFICATION_DEFAULT,
|
|
@@ -1096,7 +1102,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
|
|
|
1096
1102
|
*/
|
|
1097
1103
|
# define XML_MAJOR_VERSION 2
|
|
1098
1104
|
# define XML_MINOR_VERSION 8
|
|
1099
|
-
# define XML_MICRO_VERSION
|
|
1105
|
+
# define XML_MICRO_VERSION 5
|
|
1100
1106
|
|
|
1101
1107
|
# ifdef __cplusplus
|
|
1102
1108
|
}
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
#define PACKAGE_NAME "expat"
|
|
71
71
|
|
|
72
72
|
/* Define to the full name and version of this package. */
|
|
73
|
-
#define PACKAGE_STRING "expat 2.8.
|
|
73
|
+
#define PACKAGE_STRING "expat 2.8.5"
|
|
74
74
|
|
|
75
75
|
/* Define to the one symbol short name of this package. */
|
|
76
76
|
#define PACKAGE_TARNAME "expat"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
# define PACKAGE_URL ""
|
|
80
80
|
|
|
81
81
|
/* Define to the version of this package. */
|
|
82
|
-
#define PACKAGE_VERSION "2.8.
|
|
82
|
+
#define PACKAGE_VERSION "2.8.5"
|
|
83
83
|
|
|
84
84
|
/* Define to 1 if you have the ANSI C header files. */
|
|
85
85
|
# ifndef STDC_HEADERS
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
|
|
17
17
|
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
|
|
18
18
|
Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
|
|
19
|
+
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
|
|
19
20
|
Licensed under the MIT license:
|
|
20
21
|
|
|
21
22
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -125,6 +126,17 @@
|
|
|
125
126
|
# define XML_ATTR_ALLOC_SIZE(x)
|
|
126
127
|
# endif
|
|
127
128
|
|
|
129
|
+
/* Marks a function that Expat still provides but that callers should move off
|
|
130
|
+
of. */
|
|
131
|
+
# if defined(__clang__) || defined(__GNUC__)
|
|
132
|
+
# define XML_ATTR_DEPRECATED(message) \
|
|
133
|
+
__attribute__((__deprecated__(message)))
|
|
134
|
+
# elif defined(_MSC_VER)
|
|
135
|
+
# define XML_ATTR_DEPRECATED(message) __declspec(deprecated(message))
|
|
136
|
+
# else
|
|
137
|
+
# define XML_ATTR_DEPRECATED(message) // empty i.e. no deprecation
|
|
138
|
+
# endif
|
|
139
|
+
|
|
128
140
|
# define XMLPARSEAPI(type) XMLIMPORT type XMLCALL
|
|
129
141
|
|
|
130
142
|
# ifdef __cplusplus
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
# The variable CVF_VERSION must be set before calling configure_file().
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
set(PACKAGE_VERSION "2.8.
|
|
12
|
+
set(PACKAGE_VERSION "2.8.5")
|
|
13
13
|
|
|
14
14
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
|
15
15
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
|
16
16
|
else()
|
|
17
17
|
|
|
18
|
-
if("2.8.
|
|
18
|
+
if("2.8.5" MATCHES "^([0-9]+)\\.")
|
|
19
19
|
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
|
20
20
|
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
|
21
21
|
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
|
22
22
|
endif()
|
|
23
23
|
else()
|
|
24
|
-
set(CVF_VERSION_MAJOR "2.8.
|
|
24
|
+
set(CVF_VERSION_MAJOR "2.8.5")
|
|
25
25
|
endif()
|
|
26
26
|
|
|
27
27
|
if(PACKAGE_FIND_VERSION_RANGE)
|
|
Binary file
|
|
@@ -13,9 +13,94 @@
|
|
|
13
13
|
!! will be funded by the City of Munich as part of their !!
|
|
14
14
|
!! Open Source Sabbatical (https://opensource.muenchen.de/sabbatical.html) !!
|
|
15
15
|
!! — thank you! !!
|
|
16
|
-
!!
|
|
16
|
+
!! !!
|
|
17
|
+
!! If your business relies on Expat beyond January 2027, please consider !!
|
|
18
|
+
!! funding the maintenance of Expat to ensure its health and security for !!
|
|
19
|
+
!! you and others. Thank you! !!
|
|
20
|
+
!! !!
|
|
21
|
+
!! Sebastian Pipping -- Berlin, 2026-09-22 !!
|
|
17
22
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
18
23
|
|
|
24
|
+
Release 2.8.5 Tue September 22 2026
|
|
25
|
+
Security fixes:
|
|
26
|
+
#1282 CVE-2026-93990 -- Reject high surrogates not followed by a
|
|
27
|
+
low surrogate during UTF-16 decoding; previously, malformed
|
|
28
|
+
UTF-16 could be smuggled into the application using Expat
|
|
29
|
+
and could cause arbitrary damage there, depending on how
|
|
30
|
+
malformed UTF-16 was handled inside the application;
|
|
31
|
+
validation was not their job but Expat's. This is similar
|
|
32
|
+
to past vulnerability CVE-2022-25235.
|
|
33
|
+
Upstream CVSS 3.1 vector:
|
|
34
|
+
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS score: 9.8)
|
|
35
|
+
|
|
36
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
37
|
+
// The next release will drop two (disabled-by-default) features: //
|
|
38
|
+
// //
|
|
39
|
+
// - ATTR_INFO (-DXML_ATTR_INFO, -DEXPAT_ATTR_INFO, --enable-xml-attr-info, //
|
|
40
|
+
// function XML_GetAttributeInfo, struct XML_AttrInfo) //
|
|
41
|
+
// - MIN_SIZE (-DXML_MIN_SIZE, -DEXPAT_MIN_SIZE) //
|
|
42
|
+
// //
|
|
43
|
+
// If you need them in 2026 and beyond, please share your scenario at //
|
|
44
|
+
// GitHub issues #1370 (for ATTR_INFO) and/or #1379 (for MIN_SIZE). Thanks! //
|
|
45
|
+
///////////////////////////////////////////////////////////////////////////////
|
|
46
|
+
|
|
47
|
+
Bug fixes:
|
|
48
|
+
#1346 lib: Fix OOM-related memory leak on a failed overflow check
|
|
49
|
+
#1371 lib: Fix memory alignment for architectures with 128bit
|
|
50
|
+
pointers like CHERI-RISC-V
|
|
51
|
+
#1367 xmlwf: Handle errors when closing output files
|
|
52
|
+
|
|
53
|
+
Other changes:
|
|
54
|
+
#1354 lib: Reject an XML declaration version other than `1.[0-9]+`
|
|
55
|
+
(which is less strict than XML 1.0r4 (fourth edition)
|
|
56
|
+
and matches XML 1.0r5 (fifth edition))
|
|
57
|
+
#1362 lib: Make Clang, GCC and MSVC warn about use of function
|
|
58
|
+
XML_SetHashSalt that is deprecated since Expat 2.8.0
|
|
59
|
+
#1357 lib: Drop internal macros FASTCALL, PTRCALL, PTRFASTCALL
|
|
60
|
+
#1367 xmlwf: Document that with `-k` the last error determines the
|
|
61
|
+
xmlwf exit code in `--help` output
|
|
62
|
+
#1367 xmlwf: Make exit code 3 documentation match exit code 2 more
|
|
63
|
+
closely in `--help` output
|
|
64
|
+
#1352 #1353 CMake|Windows: Refrain from adding `/source-charset:utf-8`
|
|
65
|
+
for MSVC
|
|
66
|
+
#1366 #1374 Autotools: Be explicit about the minimum required version of
|
|
67
|
+
GNU Automake, currently version 1.13 of 2012-12-28
|
|
68
|
+
#1351 Autotools|macOS: Sync CMake templates with CMake 4.4.3
|
|
69
|
+
#1349 Replace some internal use of XML_Bool with standard bool
|
|
70
|
+
#1364 tests: Propagate xmltest.sh failures via exit status
|
|
71
|
+
#1360 tests|xmlwf: Add `#include "expat_config.h"` where missing
|
|
72
|
+
#1355 tests: Start covering hash table operation
|
|
73
|
+
#1350 #1369 tests: Drop __cplusplus leftovers
|
|
74
|
+
#1378 tests: Fix tail pointer when unlinking the last tracked
|
|
75
|
+
allocation
|
|
76
|
+
#1376 docs: Emphasize that XML_StopParser is not immediate
|
|
77
|
+
#1381 docs: Sync XML_FeatureEnum value list in doc/reference.html
|
|
78
|
+
#1356 #1361 Version info bumped from 13:4:12 (libexpat*.so.1.12.4)
|
|
79
|
+
to 13:5:12 (libexpat*.so.1.12.5); see https://verbump.de/
|
|
80
|
+
for what these numbers do
|
|
81
|
+
|
|
82
|
+
Infrastructure:
|
|
83
|
+
#1347 Add missing .gitignore entries
|
|
84
|
+
#1360 CI: Detect missing `#include "expat_config.h"`
|
|
85
|
+
#1368 CI: Bump MinGW Clang from 23.0.1 to 23.1.1
|
|
86
|
+
#1377 CI: Bump Fil-C from 0.684 to 0.685
|
|
87
|
+
#1380 CI: Bump Cppcheck from 2.21.0 to 2.22.0
|
|
88
|
+
#1372 CI: Extract helper script `apply-htmltidy.sh`
|
|
89
|
+
#1366 #1374 Autotools: Start to also produce .tar.bz3 release tarballs
|
|
90
|
+
|
|
91
|
+
Special thanks to:
|
|
92
|
+
Afonso Januário
|
|
93
|
+
Braian Plaku
|
|
94
|
+
Florian Schmaus
|
|
95
|
+
Huang Wenbin
|
|
96
|
+
Kamila Szewczyk
|
|
97
|
+
Kartik Kenchi
|
|
98
|
+
Leo Camus
|
|
99
|
+
Matthew Fernandez
|
|
100
|
+
Stan Ulbrych
|
|
101
|
+
and
|
|
102
|
+
City of Munich Open Source Sabbatical
|
|
103
|
+
|
|
19
104
|
Release 2.8.4 Mon August 31 2026
|
|
20
105
|
Security fixes:
|
|
21
106
|
#1321 #1331 CVE-2026-66046, CVE-2026-76641 -- Fix quadratic runtime from
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossbind/port-expat-wasm",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"nativeVersion": "2.8.
|
|
3
|
+
"version": "2.0.0-beta.62",
|
|
4
|
+
"nativeVersion": "2.8.5",
|
|
5
5
|
"description": "WebAssembly build of the precompiled Expat XML parser library, built with crossbind. Use it together with the main package @crossbind/port-expat.",
|
|
6
6
|
"homepage": "https://github.com/crossbind/crossbind/tree/main/ports/expat#readme",
|
|
7
7
|
"repository": {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"wasm"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@crossbind/port-expat": "^2.0.0-beta.
|
|
23
|
+
"@crossbind/port-expat": "^2.0.0-beta.62"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"crossbind": "^2.0.0-beta.
|
|
26
|
+
"crossbind": "^2.0.0-beta.62"
|
|
27
27
|
},
|
|
28
28
|
"scripts": {
|
|
29
29
|
"build": "crossbind build -p wasm",
|
|
File without changes
|
|
File without changes
|
/package/dist/prebuilt/wasm-wasm32-mt-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat.cmake
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/prebuilt/wasm-wasm32-st-release/lib/cmake/{expat-2.8.4 → expat-2.8.5}/expat.cmake
RENAMED
|
File without changes
|