Skip to content

Commit 39e5c71

Browse files
author
Git for Windows Build Agent
committed
Update 1 package
mingw-w64-i686-expat (2.7.5-2 -> 2.8.0-1) Signed-off-by: Git for Windows Build Agent <ci@git-for-windows.build>
1 parent 06f1dff commit 39e5c71

28 files changed

Lines changed: 103 additions & 21 deletions

File tree

mingw32/bin/libexpat-1.dll

1.5 KB
Binary file not shown.

mingw32/bin/xmlwf.exe

0 Bytes
Binary file not shown.

mingw32/include/expat.h

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#ifndef Expat_INCLUDED
4646
# define Expat_INCLUDED 1
4747

48+
# include <stdint.h> // for uint8_t
4849
# include <stdlib.h>
4950
# include "expat_external.h"
5051

@@ -917,10 +918,21 @@ XML_SetParamEntityParsing(XML_Parser parser,
917918
function behavior. This must be called before parsing is started.
918919
Returns 1 if successful, 0 when called after parsing has started.
919920
Note: If parser == NULL, the function will do nothing and return 0.
921+
DEPRECATED since Expat 2.8.0.
920922
*/
921923
XMLPARSEAPI(int)
922924
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);
923925

926+
/* Sets the hash salt to use for internal hash calculations.
927+
Helps in preventing DoS attacks based on predicting hash function behavior.
928+
This must be called before parsing is started.
929+
Returns XML_TRUE if successful, XML_FALSE when called after parsing has
930+
started or when parser is NULL.
931+
Added in Expat 2.8.0.
932+
*/
933+
XMLPARSEAPI(XML_Bool)
934+
XML_SetHashSalt16Bytes(XML_Parser parser, const uint8_t entropy[16]);
935+
924936
/* If XML_Parse or XML_ParseBuffer have returned XML_STATUS_ERROR, then
925937
XML_GetErrorCode returns information about the error.
926938
*/
@@ -1081,8 +1093,8 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
10811093
See https://semver.org
10821094
*/
10831095
# define XML_MAJOR_VERSION 2
1084-
# define XML_MINOR_VERSION 7
1085-
# define XML_MICRO_VERSION 5
1096+
# define XML_MINOR_VERSION 8
1097+
# define XML_MICRO_VERSION 0
10861098

10871099
# ifdef __cplusplus
10881100
}

mingw32/include/expat_config.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
/* Define to 1 if you have the `getrandom' function. */
2525
/* #undef HAVE_GETRANDOM */
2626

27+
/* Define to 1 if you have the `getentropy' function. */
28+
/* #undef HAVE_GETENTROPY */
29+
2730
/* Define to 1 if you have the <inttypes.h> header file. */
2831
#define HAVE_INTTYPES_H
2932

@@ -67,7 +70,7 @@
6770
#define PACKAGE_NAME "expat"
6871

6972
/* Define to the full name and version of this package. */
70-
#define PACKAGE_STRING "expat 2.7.5"
73+
#define PACKAGE_STRING "expat 2.8.0"
7174

7275
/* Define to the one symbol short name of this package. */
7376
#define PACKAGE_TARNAME "expat"
@@ -76,7 +79,7 @@
7679
# define PACKAGE_URL ""
7780

7881
/* Define to the version of this package. */
79-
#define PACKAGE_VERSION "2.7.5"
82+
#define PACKAGE_VERSION "2.8.0"
8083

8184
/* Define to 1 if you have the ANSI C header files. */
8285
# ifndef STDC_HEADERS

mingw32/include/expat_external.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
1313
Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
1414
Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
15-
Copyright (c) 2016-2026 Sebastian Pipping <sebastian@pipping.org>
15+
Copyright (c) 2016-2025 Sebastian Pipping <sebastian@pipping.org>
1616
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
1717
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
18+
Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
1819
Licensed under the MIT license:
1920
2021
Permission is hereby granted, free of charge, to any person obtaining
@@ -45,7 +46,7 @@
4546
/* Expat tries very hard to make the API boundary very specifically
4647
defined. There are two macros defined to control this boundary;
4748
each of these can be defined before including this header to
48-
achieve some different behavior, but doing so it not recommended or
49+
achieve some different behavior, but doing so is not recommended or
4950
tested frequently.
5051
5152
XMLCALL - The calling convention to use for all calls across the

mingw32/lib/cmake/expat-2.7.5/expat-config-version.cmake renamed to mingw32/lib/cmake/expat-2.8.0/expat-config-version.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
# The variable CVF_VERSION must be set before calling configure_file().
1010

1111

12-
set(PACKAGE_VERSION "2.7.5")
12+
set(PACKAGE_VERSION "2.8.0")
1313

1414
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
1515
set(PACKAGE_VERSION_COMPATIBLE FALSE)
1616
else()
1717

18-
if("2.7.5" MATCHES "^([0-9]+)\\.")
18+
if("2.8.0" MATCHES "^([0-9]+)\\.")
1919
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
2020
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
2121
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
2222
endif()
2323
else()
24-
set(CVF_VERSION_MAJOR "2.7.5")
24+
set(CVF_VERSION_MAJOR "2.8.0")
2525
endif()
2626

2727
if(PACKAGE_FIND_VERSION_RANGE)
File renamed without changes.
File renamed without changes.

mingw32/lib/libexpat.a

2.41 KB
Binary file not shown.

0 commit comments

Comments
 (0)