@cpp.js/package-expat 1.0.0-beta.20 → 1.0.0-beta.21

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.
Files changed (52) hide show
  1. package/README.md +3 -0
  2. package/dist/prebuilt/Android-arm64-v8a/include/expat.h +4 -2
  3. package/dist/prebuilt/Android-arm64-v8a/include/expat_config.h +3 -6
  4. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config-version.cmake +3 -3
  5. package/dist/prebuilt/{Emscripten-x86_64/lib/cmake/expat-2.6.2 → Android-arm64-v8a/lib/cmake/expat-2.6.4}/expat-noconfig.cmake +2 -2
  6. package/dist/prebuilt/{iOS-iphoneos/lib/cmake/expat-2.6.2 → Android-arm64-v8a/lib/cmake/expat-2.6.4}/expat.cmake +12 -12
  7. package/dist/prebuilt/Android-arm64-v8a/lib/libexpat.la +5 -5
  8. package/dist/prebuilt/Android-arm64-v8a/lib/libexpat.so +0 -0
  9. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/expat.pc +1 -1
  10. package/dist/prebuilt/Android-arm64-v8a/share/doc/expat/changelog +85 -0
  11. package/dist/prebuilt/CMakeLists.txt +1 -1
  12. package/dist/prebuilt/Emscripten-x86_64/include/expat.h +4 -2
  13. package/dist/prebuilt/Emscripten-x86_64/include/expat_config.h +3 -6
  14. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config-version.cmake +3 -3
  15. package/dist/prebuilt/{Android-arm64-v8a/lib/cmake/expat-2.6.2 → Emscripten-x86_64/lib/cmake/expat-2.6.4}/expat-noconfig.cmake +2 -2
  16. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat.cmake +12 -12
  17. package/dist/prebuilt/Emscripten-x86_64/lib/libexpat.a +0 -0
  18. package/dist/prebuilt/Emscripten-x86_64/lib/libexpat.la +4 -4
  19. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/expat.pc +1 -1
  20. package/dist/prebuilt/Emscripten-x86_64/share/doc/expat/changelog +85 -0
  21. package/dist/prebuilt/iOS-iphoneos/include/expat.h +4 -2
  22. package/dist/prebuilt/iOS-iphoneos/include/expat_config.h +3 -6
  23. package/dist/prebuilt/iOS-iphoneos/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config-version.cmake +3 -3
  24. package/dist/prebuilt/iOS-iphoneos/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-noconfig.cmake +2 -2
  25. package/dist/prebuilt/{iOS-iphonesimulator/lib/cmake/expat-2.6.2 → iOS-iphoneos/lib/cmake/expat-2.6.4}/expat.cmake +12 -12
  26. package/dist/prebuilt/iOS-iphoneos/lib/libexpat.a +0 -0
  27. package/dist/prebuilt/iOS-iphoneos/lib/libexpat.la +4 -4
  28. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/expat.pc +1 -1
  29. package/dist/prebuilt/iOS-iphoneos/share/doc/expat/changelog +85 -0
  30. package/dist/prebuilt/iOS-iphonesimulator/include/expat.h +4 -2
  31. package/dist/prebuilt/iOS-iphonesimulator/include/expat_config.h +3 -6
  32. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config-version.cmake +3 -3
  33. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-noconfig.cmake +2 -2
  34. package/dist/prebuilt/{Android-arm64-v8a/lib/cmake/expat-2.6.2 → iOS-iphonesimulator/lib/cmake/expat-2.6.4}/expat.cmake +12 -12
  35. package/dist/prebuilt/iOS-iphonesimulator/lib/libexpat.a +0 -0
  36. package/dist/prebuilt/iOS-iphonesimulator/lib/libexpat.la +4 -4
  37. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/expat.pc +1 -1
  38. package/dist/prebuilt/iOS-iphonesimulator/share/doc/expat/changelog +85 -0
  39. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e/Headers/expat.h +4 -2
  40. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e/Headers/expat_config.h +3 -6
  41. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e/libexpat.a +0 -0
  42. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/expat.h +4 -2
  43. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/expat_config.h +3 -6
  44. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e_x86_64-simulator/libexpat.a +0 -0
  45. package/package.json +4 -5
  46. package/dist/prebuilt/Android-arm64-v8a/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config.cmake +0 -0
  47. package/dist/prebuilt/Emscripten-x86_64/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config.cmake +0 -0
  48. package/dist/prebuilt/iOS-iphoneos/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config.cmake +0 -0
  49. package/dist/prebuilt/iOS-iphonesimulator/lib/cmake/{expat-2.6.2 → expat-2.6.4}/expat-config.cmake +0 -0
  50. package/{dist/prebuilt/expat.xcframework → expat.xcframework}/Info.plist +5 -5
  51. /package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e/Headers/expat_external.h +0 -0
  52. /package/{dist/prebuilt/expat.xcframework → expat.xcframework}/ios-arm64_arm64e_x86_64-simulator/Headers/expat_external.h +0 -0
package/README.md CHANGED
@@ -4,6 +4,9 @@
4
4
  <a href="https://www.npmjs.com/package/@cpp.js/package-expat">
5
5
  <img alt="NPM version" src="https://img.shields.io/npm/v/@cpp.js/package-expat?style=for-the-badge" />
6
6
  </a>
7
+ <a href="https://github.com/libexpat/libexpat">
8
+ <img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Funpkg.com%2F%40cpp.js%2Fpackage-expat%2Fpackage.json&query=%24.nativeVersion&style=for-the-badge&label=Expat" />
9
+ </a>
7
10
  <a href="https://github.com/libexpat/libexpat/blob/master/COPYING">
8
11
  <img alt="License" src="https://img.shields.io/npm/l/%40cpp.js%2Fpackage-expat?style=for-the-badge" />
9
12
  </a>
@@ -130,7 +130,9 @@ enum XML_Error {
130
130
  /* Added in 2.3.0. */
131
131
  XML_ERROR_NO_BUFFER,
132
132
  /* Added in 2.4.0. */
133
- XML_ERROR_AMPLIFICATION_LIMIT_BREACH
133
+ XML_ERROR_AMPLIFICATION_LIMIT_BREACH,
134
+ /* Added in 2.6.4. */
135
+ XML_ERROR_NOT_STARTED,
134
136
  };
135
137
 
136
138
  enum XML_Content_Type {
@@ -1066,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1066
1068
  */
1067
1069
  #define XML_MAJOR_VERSION 2
1068
1070
  #define XML_MINOR_VERSION 6
1069
- #define XML_MICRO_VERSION 2
1071
+ #define XML_MICRO_VERSION 4
1070
1072
 
1071
1073
  #ifdef __cplusplus
1072
1074
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.6.2"
86
+ #define PACKAGE_STRING "expat 2.6.4"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.6.2"
95
+ #define PACKAGE_VERSION "2.6.4"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.6.2"
103
+ #define VERSION "2.6.4"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -140,7 +140,4 @@
140
140
  /* Define to `long int' if <sys/types.h> does not define. */
141
141
  /* #undef off_t */
142
142
 
143
- /* Define to `unsigned int' if <sys/types.h> does not define. */
144
- /* #undef size_t */
145
-
146
143
  #endif // ndef EXPAT_CONFIG_H
@@ -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.6.2")
12
+ set(PACKAGE_VERSION "2.6.4")
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.6.2" MATCHES "^([0-9]+)\\.")
18
+ if("2.6.4" 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.6.2")
24
+ set(CVF_VERSION_MAJOR "2.6.4")
25
25
  endif()
26
26
 
27
27
  if(PACKAGE_FIND_VERSION_RANGE)
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
8
8
  # Import target "expat::expat" for configuration "NoConfig"
9
9
  set_property(TARGET expat::expat APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
10
10
  set_target_properties(expat::expat PROPERTIES
11
- IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libexpat.so.1.9.2"
11
+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libexpat.so.1.10.0"
12
12
  IMPORTED_SONAME_NOCONFIG "libexpat.so.1"
13
13
  )
14
14
 
15
15
  list(APPEND _cmake_import_check_targets expat::expat )
16
- list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.so.1.9.2" )
16
+ list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.so.1.10.0" )
17
17
 
18
18
  # Commands beyond this point should not need to know the version.
19
19
  set(CMAKE_IMPORT_FILE_VERSION)
@@ -3,11 +3,11 @@
3
3
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
4
  message(FATAL_ERROR "CMake >= 2.8.0 required")
5
5
  endif()
6
- if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
- message(FATAL_ERROR "CMake >= 2.8.3 required")
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.12")
7
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
8
8
  endif()
9
9
  cmake_policy(PUSH)
10
- cmake_policy(VERSION 2.8.3...3.26)
10
+ cmake_policy(VERSION 2.8.12...3.28)
11
11
  #----------------------------------------------------------------
12
12
  # Generated CMake target import file.
13
13
  #----------------------------------------------------------------
@@ -63,10 +63,6 @@ set_target_properties(expat::expat PROPERTIES
63
63
  INTERFACE_LINK_LIBRARIES "m"
64
64
  )
65
65
 
66
- if(CMAKE_VERSION VERSION_LESS 2.8.12)
67
- message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
68
- endif()
69
-
70
66
  # Load information for each installed configuration.
71
67
  file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake")
72
68
  foreach(_cmake_config_file IN LISTS _cmake_config_files)
@@ -80,9 +76,12 @@ set(_IMPORT_PREFIX)
80
76
 
81
77
  # Loop over all imported files and verify that they actually exist
82
78
  foreach(_cmake_target IN LISTS _cmake_import_check_targets)
83
- foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
84
- if(NOT EXISTS "${_cmake_file}")
85
- message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
79
+ if(CMAKE_VERSION VERSION_LESS "3.28"
80
+ OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
81
+ OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
82
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
83
+ if(NOT EXISTS "${_cmake_file}")
84
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
86
85
  \"${_cmake_file}\"
87
86
  but this file does not exist. Possible reasons include:
88
87
  * The file was deleted, renamed, or moved to another location.
@@ -91,8 +90,9 @@ but this file does not exist. Possible reasons include:
91
90
  \"${CMAKE_CURRENT_LIST_FILE}\"
92
91
  but not all the files it references.
93
92
  ")
94
- endif()
95
- endforeach()
93
+ endif()
94
+ endforeach()
95
+ endif()
96
96
  unset(_cmake_file)
97
97
  unset("_cmake_import_check_files_for_${_cmake_target}")
98
98
  endforeach()
@@ -1,5 +1,5 @@
1
1
  # libexpat.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.7
2
+ # Generated by libtool (GNU libtool) 2.5.3
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -8,7 +8,7 @@
8
8
  dlname='libexpat.so'
9
9
 
10
10
  # Names of this library.
11
- library_names='libexpat.so'
11
+ library_names='libexpat.so libexpat.so'
12
12
 
13
13
  # The name of the static archive.
14
14
  old_library=''
@@ -23,9 +23,9 @@ dependency_libs=' -lm'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libexpat.
26
- current=10
27
- age=9
28
- revision=2
26
+ current=11
27
+ age=10
28
+ revision=0
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
5
5
 
6
6
  Name: expat
7
- Version: 2.6.2
7
+ Version: 2.6.4
8
8
  Description: expat XML parser
9
9
  URL: https://libexpat.github.io/
10
10
  Libs: -L${libdir} -lexpat
@@ -30,6 +30,91 @@
30
30
  !! THANK YOU! Sebastian Pipping -- Berlin, 2024-03-09 !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
32
 
33
+ Release 2.6.4 Wed November 6 2024
34
+ Security fixes:
35
+ #915 CVE-2024-50602 -- Fix crash within function XML_ResumeParser
36
+ from a NULL pointer dereference by disallowing function
37
+ XML_StopParser to (stop or) suspend an unstarted parser.
38
+ A new error code XML_ERROR_NOT_STARTED was introduced to
39
+ properly communicate this situation. // CWE-476 CWE-754
40
+
41
+ Other changes:
42
+ #903 CMake: Add alias target "expat::expat"
43
+ #905 docs: Document use via CMake >=3.18 with FetchContent
44
+ and SOURCE_SUBDIR and its consequences
45
+ #902 tests: Reduce use of global parser instance
46
+ #904 tests: Resolve duplicate handler
47
+ #317 #918 tests: Improve tests on doctype closing (ex CVE-2019-15903)
48
+ #914 Fix signedness of format strings
49
+ #919 #920 Version info bumped from 10:3:9 (libexpat*.so.1.9.3)
50
+ to 11:0:10 (libexpat*.so.1.10.0); see https://verbump.de/
51
+ for what these numbers do
52
+
53
+ Infrastructure:
54
+ #907 CI: Upgrade Clang from 18 to 19
55
+ #913 CI: Drop macos-12 and add macos-15
56
+ #910 CI: Adapt to breaking changes in GitHub Actions
57
+ #898 Add missing entries to .gitignore
58
+
59
+ Special thanks to:
60
+ Hanno Böck
61
+ José Eduardo Gutiérrez Conejo
62
+ José Ricardo Cardona Quesada
63
+
64
+ Release 2.6.3 Wed September 4 2024
65
+ Security fixes:
66
+ #887 #890 CVE-2024-45490 -- Calling function XML_ParseBuffer with
67
+ len < 0 without noticing and then calling XML_GetBuffer
68
+ will have XML_ParseBuffer fail to recognize the problem
69
+ and XML_GetBuffer corrupt memory.
70
+ With the fix, XML_ParseBuffer now complains with error
71
+ XML_ERROR_INVALID_ARGUMENT just like sibling XML_Parse
72
+ has been doing since Expat 2.2.1, and now documented.
73
+ Impact is denial of service to potentially artitrary code
74
+ execution.
75
+ #888 #891 CVE-2024-45491 -- Internal function dtdCopy can have an
76
+ integer overflow for nDefaultAtts on 32-bit platforms
77
+ (where UINT_MAX equals SIZE_MAX).
78
+ Impact is denial of service to potentially artitrary code
79
+ execution.
80
+ #889 #892 CVE-2024-45492 -- Internal function nextScaffoldPart can
81
+ have an integer overflow for m_groupSize on 32-bit
82
+ platforms (where UINT_MAX equals SIZE_MAX).
83
+ Impact is denial of service to potentially artitrary code
84
+ execution.
85
+
86
+ Other changes:
87
+ #851 #879 Autotools: Sync CMake templates with CMake 3.28
88
+ #853 Autotools: Always provide path to find(1) for portability
89
+ #861 Autotools: Ensure that the m4 directory always exists.
90
+ #870 Autotools: Simplify handling of SIZEOF_VOID_P
91
+ #869 Autotools: Support non-GNU sed
92
+ #856 Autotools|CMake: Fix main() to main(void)
93
+ #865 Autotools|CMake: Fix compile tests for HAVE_SYSCALL_GETRANDOM
94
+ #863 Autotools|CMake: Stop requiring dos2unix
95
+ #854 #855 CMake: Fix check for symbols size_t and off_t
96
+ #864 docs|tests: Convert README to Markdown and update
97
+ #741 Windows: Drop support for Visual Studio <=15.0/2017
98
+ #886 Drop needless XML_DTD guards around is_param access
99
+ #885 Fix typo in a code comment
100
+ #894 #896 Version info bumped from 10:2:9 (libexpat*.so.1.9.2)
101
+ to 10:3:9 (libexpat*.so.1.9.3); see https://verbump.de/
102
+ for what these numbers do
103
+
104
+ Infrastructure:
105
+ #880 Readme: Promote the call for help
106
+ #868 CI: Fix various issues
107
+ #849 CI: Allow triggering GitHub Actions workflows manually
108
+ #851 #872 ..
109
+ #873 #879 CI: Adapt to breaking changes in GitHub Actions
110
+
111
+ Special thanks to:
112
+ Alexander Bluhm
113
+ Berkay Eren Ürün
114
+ Dag-Erling Smørgrav
115
+ Ferenc Géczi
116
+ TaiYou
117
+
33
118
  Release 2.6.2 Wed March 13 2024
34
119
  Security fixes:
35
120
  #839 #842 CVE-2024-28757 -- Prevent billion laughs attacks with
@@ -9,7 +9,7 @@ if(ANDROID)
9
9
  set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
10
10
  elseif(APPLE)
11
11
  if (CMAKE_SYSTEM_NAME STREQUAL "iOS")
12
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}")
12
+ set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/../..")
13
13
  else()
14
14
  set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}")
15
15
  set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
@@ -130,7 +130,9 @@ enum XML_Error {
130
130
  /* Added in 2.3.0. */
131
131
  XML_ERROR_NO_BUFFER,
132
132
  /* Added in 2.4.0. */
133
- XML_ERROR_AMPLIFICATION_LIMIT_BREACH
133
+ XML_ERROR_AMPLIFICATION_LIMIT_BREACH,
134
+ /* Added in 2.6.4. */
135
+ XML_ERROR_NOT_STARTED,
134
136
  };
135
137
 
136
138
  enum XML_Content_Type {
@@ -1066,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1066
1068
  */
1067
1069
  #define XML_MAJOR_VERSION 2
1068
1070
  #define XML_MINOR_VERSION 6
1069
- #define XML_MICRO_VERSION 2
1071
+ #define XML_MICRO_VERSION 4
1070
1072
 
1071
1073
  #ifdef __cplusplus
1072
1074
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.6.2"
86
+ #define PACKAGE_STRING "expat 2.6.4"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.6.2"
95
+ #define PACKAGE_VERSION "2.6.4"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.6.2"
103
+ #define VERSION "2.6.4"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -140,7 +140,4 @@
140
140
  /* Define to `long int' if <sys/types.h> does not define. */
141
141
  /* #undef off_t */
142
142
 
143
- /* Define to `unsigned int' if <sys/types.h> does not define. */
144
- /* #undef size_t */
145
-
146
143
  #endif // ndef EXPAT_CONFIG_H
@@ -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.6.2")
12
+ set(PACKAGE_VERSION "2.6.4")
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.6.2" MATCHES "^([0-9]+)\\.")
18
+ if("2.6.4" 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.6.2")
24
+ set(CVF_VERSION_MAJOR "2.6.4")
25
25
  endif()
26
26
 
27
27
  if(PACKAGE_FIND_VERSION_RANGE)
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
8
8
  # Import target "expat::expat" for configuration "NoConfig"
9
9
  set_property(TARGET expat::expat APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
10
10
  set_target_properties(expat::expat PROPERTIES
11
- IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libexpat.so.1.9.2"
11
+ IMPORTED_LOCATION_NOCONFIG "${_IMPORT_PREFIX}/lib/libexpat.so.1.10.0"
12
12
  IMPORTED_SONAME_NOCONFIG "libexpat.so.1"
13
13
  )
14
14
 
15
15
  list(APPEND _cmake_import_check_targets expat::expat )
16
- list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.so.1.9.2" )
16
+ list(APPEND _cmake_import_check_files_for_expat::expat "${_IMPORT_PREFIX}/lib/libexpat.so.1.10.0" )
17
17
 
18
18
  # Commands beyond this point should not need to know the version.
19
19
  set(CMAKE_IMPORT_FILE_VERSION)
@@ -3,11 +3,11 @@
3
3
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8)
4
4
  message(FATAL_ERROR "CMake >= 2.8.0 required")
5
5
  endif()
6
- if(CMAKE_VERSION VERSION_LESS "2.8.3")
7
- message(FATAL_ERROR "CMake >= 2.8.3 required")
6
+ if(CMAKE_VERSION VERSION_LESS "2.8.12")
7
+ message(FATAL_ERROR "CMake >= 2.8.12 required")
8
8
  endif()
9
9
  cmake_policy(PUSH)
10
- cmake_policy(VERSION 2.8.3...3.26)
10
+ cmake_policy(VERSION 2.8.12...3.28)
11
11
  #----------------------------------------------------------------
12
12
  # Generated CMake target import file.
13
13
  #----------------------------------------------------------------
@@ -63,10 +63,6 @@ set_target_properties(expat::expat PROPERTIES
63
63
  INTERFACE_LINK_LIBRARIES "m"
64
64
  )
65
65
 
66
- if(CMAKE_VERSION VERSION_LESS 2.8.12)
67
- message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.")
68
- endif()
69
-
70
66
  # Load information for each installed configuration.
71
67
  file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/expat-*.cmake")
72
68
  foreach(_cmake_config_file IN LISTS _cmake_config_files)
@@ -80,9 +76,12 @@ set(_IMPORT_PREFIX)
80
76
 
81
77
  # Loop over all imported files and verify that they actually exist
82
78
  foreach(_cmake_target IN LISTS _cmake_import_check_targets)
83
- foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
84
- if(NOT EXISTS "${_cmake_file}")
85
- message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
79
+ if(CMAKE_VERSION VERSION_LESS "3.28"
80
+ OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
81
+ OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
82
+ foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}")
83
+ if(NOT EXISTS "${_cmake_file}")
84
+ message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file
86
85
  \"${_cmake_file}\"
87
86
  but this file does not exist. Possible reasons include:
88
87
  * The file was deleted, renamed, or moved to another location.
@@ -91,8 +90,9 @@ but this file does not exist. Possible reasons include:
91
90
  \"${CMAKE_CURRENT_LIST_FILE}\"
92
91
  but not all the files it references.
93
92
  ")
94
- endif()
95
- endforeach()
93
+ endif()
94
+ endforeach()
95
+ endif()
96
96
  unset(_cmake_file)
97
97
  unset("_cmake_import_check_files_for_${_cmake_target}")
98
98
  endforeach()
@@ -1,5 +1,5 @@
1
1
  # libexpat.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.7
2
+ # Generated by libtool (GNU libtool) 2.5.3
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -23,9 +23,9 @@ dependency_libs=' -lm'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libexpat.
26
- current=10
27
- age=9
28
- revision=2
26
+ current=11
27
+ age=10
28
+ revision=0
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
@@ -4,7 +4,7 @@ libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
5
5
 
6
6
  Name: expat
7
- Version: 2.6.2
7
+ Version: 2.6.4
8
8
  Description: expat XML parser
9
9
  URL: https://libexpat.github.io/
10
10
  Libs: -L${libdir} -lexpat
@@ -30,6 +30,91 @@
30
30
  !! THANK YOU! Sebastian Pipping -- Berlin, 2024-03-09 !!
31
31
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32
32
 
33
+ Release 2.6.4 Wed November 6 2024
34
+ Security fixes:
35
+ #915 CVE-2024-50602 -- Fix crash within function XML_ResumeParser
36
+ from a NULL pointer dereference by disallowing function
37
+ XML_StopParser to (stop or) suspend an unstarted parser.
38
+ A new error code XML_ERROR_NOT_STARTED was introduced to
39
+ properly communicate this situation. // CWE-476 CWE-754
40
+
41
+ Other changes:
42
+ #903 CMake: Add alias target "expat::expat"
43
+ #905 docs: Document use via CMake >=3.18 with FetchContent
44
+ and SOURCE_SUBDIR and its consequences
45
+ #902 tests: Reduce use of global parser instance
46
+ #904 tests: Resolve duplicate handler
47
+ #317 #918 tests: Improve tests on doctype closing (ex CVE-2019-15903)
48
+ #914 Fix signedness of format strings
49
+ #919 #920 Version info bumped from 10:3:9 (libexpat*.so.1.9.3)
50
+ to 11:0:10 (libexpat*.so.1.10.0); see https://verbump.de/
51
+ for what these numbers do
52
+
53
+ Infrastructure:
54
+ #907 CI: Upgrade Clang from 18 to 19
55
+ #913 CI: Drop macos-12 and add macos-15
56
+ #910 CI: Adapt to breaking changes in GitHub Actions
57
+ #898 Add missing entries to .gitignore
58
+
59
+ Special thanks to:
60
+ Hanno Böck
61
+ José Eduardo Gutiérrez Conejo
62
+ José Ricardo Cardona Quesada
63
+
64
+ Release 2.6.3 Wed September 4 2024
65
+ Security fixes:
66
+ #887 #890 CVE-2024-45490 -- Calling function XML_ParseBuffer with
67
+ len < 0 without noticing and then calling XML_GetBuffer
68
+ will have XML_ParseBuffer fail to recognize the problem
69
+ and XML_GetBuffer corrupt memory.
70
+ With the fix, XML_ParseBuffer now complains with error
71
+ XML_ERROR_INVALID_ARGUMENT just like sibling XML_Parse
72
+ has been doing since Expat 2.2.1, and now documented.
73
+ Impact is denial of service to potentially artitrary code
74
+ execution.
75
+ #888 #891 CVE-2024-45491 -- Internal function dtdCopy can have an
76
+ integer overflow for nDefaultAtts on 32-bit platforms
77
+ (where UINT_MAX equals SIZE_MAX).
78
+ Impact is denial of service to potentially artitrary code
79
+ execution.
80
+ #889 #892 CVE-2024-45492 -- Internal function nextScaffoldPart can
81
+ have an integer overflow for m_groupSize on 32-bit
82
+ platforms (where UINT_MAX equals SIZE_MAX).
83
+ Impact is denial of service to potentially artitrary code
84
+ execution.
85
+
86
+ Other changes:
87
+ #851 #879 Autotools: Sync CMake templates with CMake 3.28
88
+ #853 Autotools: Always provide path to find(1) for portability
89
+ #861 Autotools: Ensure that the m4 directory always exists.
90
+ #870 Autotools: Simplify handling of SIZEOF_VOID_P
91
+ #869 Autotools: Support non-GNU sed
92
+ #856 Autotools|CMake: Fix main() to main(void)
93
+ #865 Autotools|CMake: Fix compile tests for HAVE_SYSCALL_GETRANDOM
94
+ #863 Autotools|CMake: Stop requiring dos2unix
95
+ #854 #855 CMake: Fix check for symbols size_t and off_t
96
+ #864 docs|tests: Convert README to Markdown and update
97
+ #741 Windows: Drop support for Visual Studio <=15.0/2017
98
+ #886 Drop needless XML_DTD guards around is_param access
99
+ #885 Fix typo in a code comment
100
+ #894 #896 Version info bumped from 10:2:9 (libexpat*.so.1.9.2)
101
+ to 10:3:9 (libexpat*.so.1.9.3); see https://verbump.de/
102
+ for what these numbers do
103
+
104
+ Infrastructure:
105
+ #880 Readme: Promote the call for help
106
+ #868 CI: Fix various issues
107
+ #849 CI: Allow triggering GitHub Actions workflows manually
108
+ #851 #872 ..
109
+ #873 #879 CI: Adapt to breaking changes in GitHub Actions
110
+
111
+ Special thanks to:
112
+ Alexander Bluhm
113
+ Berkay Eren Ürün
114
+ Dag-Erling Smørgrav
115
+ Ferenc Géczi
116
+ TaiYou
117
+
33
118
  Release 2.6.2 Wed March 13 2024
34
119
  Security fixes:
35
120
  #839 #842 CVE-2024-28757 -- Prevent billion laughs attacks with
@@ -130,7 +130,9 @@ enum XML_Error {
130
130
  /* Added in 2.3.0. */
131
131
  XML_ERROR_NO_BUFFER,
132
132
  /* Added in 2.4.0. */
133
- XML_ERROR_AMPLIFICATION_LIMIT_BREACH
133
+ XML_ERROR_AMPLIFICATION_LIMIT_BREACH,
134
+ /* Added in 2.6.4. */
135
+ XML_ERROR_NOT_STARTED,
134
136
  };
135
137
 
136
138
  enum XML_Content_Type {
@@ -1066,7 +1068,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1066
1068
  */
1067
1069
  #define XML_MAJOR_VERSION 2
1068
1070
  #define XML_MINOR_VERSION 6
1069
- #define XML_MICRO_VERSION 2
1071
+ #define XML_MICRO_VERSION 4
1070
1072
 
1071
1073
  #ifdef __cplusplus
1072
1074
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.6.2"
86
+ #define PACKAGE_STRING "expat 2.6.4"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.6.2"
95
+ #define PACKAGE_VERSION "2.6.4"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.6.2"
103
+ #define VERSION "2.6.4"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -140,7 +140,4 @@
140
140
  /* Define to `long int' if <sys/types.h> does not define. */
141
141
  /* #undef off_t */
142
142
 
143
- /* Define to `unsigned int' if <sys/types.h> does not define. */
144
- /* #undef size_t */
145
-
146
143
  #endif // ndef EXPAT_CONFIG_H
@@ -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.6.2")
12
+ set(PACKAGE_VERSION "2.6.4")
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.6.2" MATCHES "^([0-9]+)\\.")
18
+ if("2.6.4" 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.6.2")
24
+ set(CVF_VERSION_MAJOR "2.6.4")
25
25
  endif()
26
26
 
27
27
  if(PACKAGE_FIND_VERSION_RANGE)