Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
c7de7e1
Backport #124255 to 26.3: Bump vendored `expat` from 2.8.2 to 2.9.0
robot-clickhouse Oct 14, 2026
09be45d
Backport #125512 to 26.3: Never stop the server process from the line…
robot-clickhouse Oct 15, 2026
183ca70
Backport #125900 to 26.3: Fix stack overflow in the CapnProto schema …
robot-clickhouse Oct 15, 2026
e846d22
Backport #119368 to 26.3: Do not deserialize unexpected packets in TC…
robot-clickhouse Oct 15, 2026
84478eb
Merge pull request #126083 from ClickHouse/backport/26.3/119368
alexey-milovidov Oct 15, 2026
a15a86f
Merge pull request #126065 from ClickHouse/backport/26.3/125512
alexey-milovidov Oct 15, 2026
30e6d26
Backport #125221 to 26.3: Fix `ORDER BY ... LIMIT` over an `Interval`…
robot-clickhouse Oct 16, 2026
a191be9
Merge pull request #126067 from ClickHouse/backport/26.3/125900
Algunenano Oct 16, 2026
7792fa0
Backport #121704 to 26.3: Stop the native SSH-key handshake from disc…
robot-clickhouse Oct 16, 2026
09d38b1
Update autogenerated version to 26.3.53.4 and contributors
robot-clickhouse Oct 16, 2026
f9fc7e9
Merge pull request #125797 from ClickHouse/backport/26.3/124255
thevar1able Oct 16, 2026
f7a8f8d
Backport #125899 to 26.3: Apply `http_zlib_compression_level` only to…
robot-clickhouse Oct 17, 2026
1b3c520
Backport #124905 to 26.3: Reject CR/LF in outgoing HTTP request lines…
robot-clickhouse Oct 17, 2026
9f3fea8
Merge pull request #126398 from ClickHouse/backport/26.3/125899
alexey-milovidov Oct 17, 2026
0fcdf8a
Update autogenerated version to 26.3.54.6 and contributors
robot-clickhouse Oct 17, 2026
2dac2e7
Backport #118866 to 26.3: Require SELECT on the source when CREATE TA…
robot-clickhouse Oct 17, 2026
e029f78
Merge pull request #126402 from ClickHouse/backport/26.3/124905
alexey-milovidov Oct 17, 2026
358652e
Update autogenerated version to 26.3.55.2 and contributors
robot-clickhouse Oct 18, 2026
ff8f6ef
Merge pull request #126278 from ClickHouse/backport/26.3/121704
tiandiwonder Oct 18, 2026
e33d756
Merge pull request #126240 from ClickHouse/backport/26.3/125221
PedroTadim Oct 19, 2026
dbf90f8
Backport #124075 to 26.3: Leave only loadable objects behind in `0531…
robot-clickhouse Oct 19, 2026
15856f6
Backport #120407 to 26.3: [SECURITY] Mask credentials embedded in HTT…
robot-clickhouse Oct 19, 2026
2844f04
Update autogenerated version to 26.3.56.2 and contributors
robot-clickhouse Oct 19, 2026
1598d9a
Adapt the tests to 26.3
Oct 19, 2026
3a51cb4
Backport #125785 to 26.3: Use constant-time comparison for TOTP codes…
robot-clickhouse Oct 19, 2026
a300aef
Backport #126120 to 26.3: Fix out-of-bounds accesses in the replxx li…
robot-clickhouse Oct 19, 2026
e640778
Backport #113877 to 26.3: Fix out-of-bounds write on a long codec chain
robot-clickhouse Oct 19, 2026
ec976f6
Backport #125893 to 26.3: Fix a crash and lost rows on INSERT when a …
robot-clickhouse Oct 19, 2026
9d1b484
Merge pull request #126688 from ClickHouse/backport/26.3/124075
PedroTadim Oct 19, 2026
f865b60
Merge pull request #126719 from ClickHouse/backport/26.3/126120
alexey-milovidov Oct 19, 2026
98141e4
Merge pull request #126496 from ClickHouse/backport/26.3/118866
alexey-milovidov Oct 19, 2026
c09fcae
Merge pull request #126726 from ClickHouse/backport/26.3/113877
rschu1ze Oct 19, 2026
4ed5637
Backport #126550 to 26.3: Limit nesting depth of messages in Protobuf…
robot-clickhouse Oct 19, 2026
375626e
Backport #126547 to 26.3: Limit nesting depth of arrays in Redis replies
robot-clickhouse Oct 19, 2026
90eb017
Backport #126159 to 26.3: Fix segfault in `MySQLDump` format on `ENUM…
robot-clickhouse Oct 19, 2026
77a9976
Merge pull request #126729 from ClickHouse/backport/26.3/125893
alexey-milovidov Oct 19, 2026
eead9d0
Backport #120776 to 26.3: Fix uninitialized offsets in Variant/Dynami…
robot-clickhouse Oct 19, 2026
9e15eaa
Backport #126292 to 26.3: Fix heap-use-after-free in `TablesDependenc…
robot-clickhouse Oct 20, 2026
33f829b
Merge pull request #126823 from ClickHouse/backport/26.3/120776
PedroTadim Oct 20, 2026
bb9a28d
Merge pull request #126807 from ClickHouse/backport/26.3/126159
PedroTadim Oct 20, 2026
70a2f1a
Backport #103710 to 26.3: Fix flaky test_parallel_quorum_actually_par…
robot-clickhouse Oct 20, 2026
b222be9
Merge pull request #126802 from ClickHouse/backport/26.3/126547
PedroTadim Oct 20, 2026
82d5896
Merge pull request #126794 from ClickHouse/backport/26.3/126550
PedroTadim Oct 20, 2026
ec42a9e
Merge pull request #126717 from ClickHouse/backport/26.3/125785
PedroTadim Oct 20, 2026
9ce5907
Merge pull request #126913 from ClickHouse/backport/26.3/103710
PedroTadim Oct 20, 2026
5cf93be
Merge pull request #126907 from ClickHouse/backport/26.3/126292
PedroTadim Oct 20, 2026
bde7143
Remove the dictionary-definition checks from 05212 on 26.3
groeneai Oct 20, 2026
f57caa3
Update autogenerated version to 26.3.57.12 and contributors
robot-clickhouse Oct 20, 2026
548a233
Backport #126553 to 26.3: Fix use-after-free and reading of long valu…
robot-clickhouse Oct 20, 2026
b10d52a
Merge pull request #126708 from ClickHouse/backport/26.3/120407
hanfei1991 Oct 20, 2026
62a7db9
Merge pull request #127021 from ClickHouse/backport/26.3/126553
alexey-milovidov Oct 20, 2026
0002c18
Backport #127015 to 26.3: Fix reading uninitialized memory in `polygo…
robot-clickhouse Oct 21, 2026
406ea17
Backport #125701 to 26.8: Require READ and WRITE privileges for the F…
robot-clickhouse Oct 14, 2026
41e6b76
Guard `FileLog` by the `FILE` source grant on 26.4
fm4v Oct 18, 2026
e3ee58f
Pass an absolute `FileLog` path in `05394_filelog_engine_file_source_…
fm4v Oct 18, 2026
264bf9a
Skip codec sanity checks for a TTL recompression codec on ATTACH
groeneai Oct 19, 2026
4004a8c
Backport #126548 to 26.3: Limit recursion depth when deserializing qu…
robot-clickhouse Oct 21, 2026
a4b6e9c
Backport #117407 to 26.3: Fix TOTP bypass in MySQL protocol authentic…
robot-clickhouse Oct 21, 2026
6c6b473
Merge pull request #127101 from ClickHouse/backport/26.3/127015
PedroTadim Oct 21, 2026
457c959
Backport #127139 to 26.3: Fix a crash with estimateCompressionRatio
robot-clickhouse Oct 21, 2026
8f6221e
Update autogenerated version to 26.3.58.5 and contributors
robot-clickhouse Oct 21, 2026
8b36242
Merge pull request #125885 from ClickHouse/backport/26.3/125701
rschu1ze Oct 21, 2026
53896fd
Merge pull request #127159 from ClickHouse/backport/26.3/126548
alexey-milovidov Oct 21, 2026
8f7867a
Merge pull request #127150 from ClickHouse/fix-26.3-ttl-recompress-co…
alexey-milovidov Oct 21, 2026
4fee975
Backport #126546 to 26.3: Validate malformed responses from HDFS Data…
robot-clickhouse Oct 21, 2026
4fa93cc
Backport #120887 to 26.3: Reject deeply nested JSON documents instead…
robot-clickhouse Oct 21, 2026
93145c3
Backport #110695 to 26.3: Combine I/O cost with selectivity in PREWHE…
robot-clickhouse Oct 21, 2026
8ac6ca0
Merge pull request #127176 from ClickHouse/backport/26.3/127139
rschu1ze Oct 21, 2026
2b8dbd7
Adapt test_mysql_protocol_fail_close_on_unverifiable_methods to 26.3
PedroTadim Oct 21, 2026
8fcefa1
Merge pull request #127234 from ClickHouse/backport/26.3/126546
alexey-milovidov Oct 21, 2026
50d5956
Merge pull request #127161 from ClickHouse/backport/26.3/117407
alexey-milovidov Oct 21, 2026
457f91a
Merge pull request #127250 from ClickHouse/backport/26.3/110695
alexey-milovidov Oct 22, 2026
4f0c8c1
Merge pull request #127247 from ClickHouse/backport/26.3/120887
alexey-milovidov Oct 22, 2026
ab07943
Backport #126914 to 26.3: Do not pre-allocate memory for the declared…
robot-clickhouse Oct 22, 2026
85b96c6
Update autogenerated version to 26.3.59.10 and contributors
robot-clickhouse Oct 22, 2026
b55e489
Merge pull request #127360 from ClickHouse/backport/26.3/126914
antonio2368 Oct 23, 2026
6cdf0e0
Merge tag 'v26.3.60.2-lts' into bump/antalya-26.3/26.3.60
zvonand Oct 27, 2026
fb7f610
Resolve conflicts in merge of v26.3.60.2-lts
zvonand Oct 27, 2026
70b85f0
Fix build: normalize headers after they are built in RestCatalog::sen…
blau-ai Oct 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions base/poco/Net/src/HTTPRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "Poco/NumberFormatter.h"
#include "Poco/Ascii.h"
#include "Poco/String.h"
#include "Poco/Exception.h"


using Poco::NumberFormatter;
Expand Down Expand Up @@ -190,8 +191,31 @@ void HTTPRequest::setProxyCredentials(const std::string& scheme, const std::stri
}


namespace
{
bool hasLineBreak(const std::string& value)
{
return value.find_first_of("\r\n") != std::string::npos;
}

/// CR or LF in the request line or in a header would let the value inject headers or a whole second request.
void checkNoLineBreaks(const HTTPRequest& request)
{
if (hasLineBreak(request.getMethod()) || hasLineBreak(request.getURI()) || hasLineBreak(request.getVersion()))
throw InvalidArgumentException("HTTP request line contains CR or LF");
for (const auto& header : request)
{
if (hasLineBreak(header.first) || hasLineBreak(header.second))
throw InvalidArgumentException("HTTP request header contains CR or LF", header.first);
}
}
}


void HTTPRequest::write(std::ostream& ostr) const
{
checkNoLineBreaks(*this);

ostr << _method << " " << _uri << " " << getVersion() << "\r\n";
HTTPMessage::write(ostr);
ostr << "\r\n";
Expand Down
24 changes: 24 additions & 0 deletions base/poco/Redis/include/Poco/Redis/Array.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,34 @@ namespace Redis
return result.str();
}

/// The maximum allowed nesting depth of arrays in a reply.
/// Replies of real Redis servers are nested only a few levels deep,
/// while unbounded nesting would lead to stack overflow in the recursive parser.
static constexpr int MAX_NESTING_DEPTH = 128;

static void read(RedisInputStream & input, Array & value)
{
value.clear();

struct DepthGuard
{
explicit DepthGuard(int & depth_) : depth(depth_)
{
++depth;
}

~DepthGuard()
{
--depth;
}

int & depth;
};

DepthGuard depth_guard(input.arrayNestingDepth());
if (depth_guard.depth > MAX_NESTING_DEPTH)
throw RedisException("Too deep nesting of arrays in the answer received from Redis server");

Int64 length = NumberParser::parse64(input.getline());

if (length != -1)
Expand Down
13 changes: 13 additions & 0 deletions base/poco/Redis/include/Poco/Redis/RedisStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,22 @@ namespace Redis
std::string getline();
/// Redis uses \r\n as delimiter. This getline version removes
/// the \r from the result.

int & arrayNestingDepth();
/// Returns the current nesting depth of arrays being read from the stream.
/// Used to limit the recursion depth while parsing nested arrays.

private:
int _arrayNestingDepth = 0;
};


inline int & RedisInputStream::arrayNestingDepth()
{
return _arrayNestingDepth;
}


}
} // namespace Poco::Redis

Expand Down
15 changes: 14 additions & 1 deletion base/poco/Redis/src/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,23 @@ RedisType::Ptr Client::readReply()
RedisType::Ptr result = RedisType::createRedisType(c);
if (result.isNull())
{
/// The stream is not at a reply boundary anymore, so the connection cannot be reused.
disconnect();
throw RedisException("Invalid Redis type returned");
}

result->read(*_input);
try
{
result->read(*_input);
}
catch (...)
{
/// A partially read reply leaves unread data in the stream.
/// If the connection were reused (e.g. returned to a pool), the next request
/// would read the remainder of this reply instead of its own one.
disconnect();
throw;
}

return result;
}
Expand Down
2 changes: 2 additions & 0 deletions base/poco/XML/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ add_library (Poco::XML::Expat ALIAS _poco_xml_expat)
target_compile_options (_poco_xml_expat
PRIVATE
-Wno-cast-qual
-Wno-disabled-macro-expansion
-Wno-empty-translation-unit
-Wno-extra-semi-stmt
-Wno-implicit-fallthrough
Expand Down Expand Up @@ -49,6 +50,7 @@ target_compile_options (_poco_xml
-Wno-unreachable-code
-Wno-unreachable-code-break
-Wno-unreachable-code-fallthrough
-Wno-unreachable-code-return
-Wno-unused-macros
-Wno-unused-parameter
-Wno-zero-as-null-pointer-constant
Expand Down
105 changes: 79 additions & 26 deletions base/poco/XML/include/Poco/XML/expat.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
Copyright (c) 2025 Matthew Fernandez <matthew.fernandez@gmail.com>
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
Licensed under the MIT license:

Permission is hereby granted, free of charge, to any person obtaining
Expand All @@ -40,12 +41,14 @@
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT
*/

#ifndef Expat_INCLUDED
# define Expat_INCLUDED 1

# include <stdint.h> // for uint8_t
# include <stdint.h> // for int64_t, uint8_t, uint64_t
# include <stdlib.h>
# include "expat_external.h"

Expand Down Expand Up @@ -137,6 +140,26 @@ enum XML_Error {
XML_ERROR_NOT_STARTED,
};

/* Added in 2.9.0. */
enum XML_Prop_Error {
XML_PROP_ERROR_NONE = 0, // i.e. success

XML_PROP_ERROR_INVALID_KEY = 1, // i.e. the property is not known at all
XML_PROP_ERROR_INVALID_TYPE = 2, // i.e. the property is known but expects a
// different type (so a different
// getter/setter would need to be called)
XML_PROP_ERROR_INVALID_VALUE = 3, // i.e. the value is invalid (with a setter
// function) or a NULL-pointer (with a
// getter function)

XML_PROP_ERROR_PARSER_NULL = 4, // i.e. the parser argument is NULL
XML_PROP_ERROR_PARSER_NOT_ROOT = 5, // i.e. the parser is not a root parser
// but a subparser (and a root parser is
// needed)

/* potentially more error codes upcoming here */
};

enum XML_Content_Type {
XML_CTYPE_EMPTY = 1,
XML_CTYPE_ANY,
Expand Down Expand Up @@ -754,29 +777,6 @@ XML_GetSpecifiedAttributeCount(XML_Parser parser);
XMLPARSEAPI(int)
XML_GetIdAttributeIndex(XML_Parser parser);

# ifdef XML_ATTR_INFO
/* Source file byte offsets for the start and end of attribute names and values.
The value indices are exclusive of surrounding quotes; thus in a UTF-8 source
file an attribute value of "blah" will yield:
info->valueEnd - info->valueStart = 4 bytes.
*/
typedef struct {
XML_Index nameStart; /* Offset to beginning of the attribute name. */
XML_Index nameEnd; /* Offset after the attribute name's last byte. */
XML_Index valueStart; /* Offset to beginning of the attribute value. */
XML_Index valueEnd; /* Offset after the attribute value's last byte. */
} XML_AttrInfo;

/* Returns an array of XML_AttrInfo structures for the attribute/value pairs
passed in last call to the XML_StartElementHandler that were specified
in the start-tag rather than defaulted. Each attribute/value pair counts
as 1; thus the number of entries in the array is
XML_GetSpecifiedAttributeCount(parser) / 2.
*/
XMLPARSEAPI(const XML_AttrInfo *)
XML_GetAttributeInfo(XML_Parser parser);
# endif

/* Parses some input. Returns XML_STATUS_ERROR if a fatal error is
detected. The last call to XML_Parse must have isFinal true; len
may be zero for this call (or any other).
Expand Down Expand Up @@ -919,7 +919,9 @@ XML_SetParamEntityParsing(XML_Parser parser,
Returns 1 if successful, 0 when called after parsing has started.
Note: If parser == NULL, the function will do nothing and return 0.
DEPRECATED since Expat 2.8.0.
Please use XML_SetHashSalt16Bytes instead.
*/
XML_ATTR_DEPRECATED("please use XML_SetHashSalt16Bytes instead")
XMLPARSEAPI(int)
XML_SetHashSalt(XML_Parser parser, unsigned long hash_salt);

Expand Down Expand Up @@ -959,15 +961,24 @@ XML_GetErrorCode(XML_Parser parser);
return 0 to indicate an error.
Note: XML_GetCurrentByteIndex returns -1 to indicate an error.
*/
XML_ATTR_DEPRECATED("please use XML_GetCurrentLineNumber64 instead")
XMLPARSEAPI(XML_Size) XML_GetCurrentLineNumber(XML_Parser parser);
XMLPARSEAPI(uint64_t) XML_GetCurrentLineNumber64(XML_Parser parser);
XML_ATTR_DEPRECATED("please use XML_GetCurrentColumnNumber64 instead")
XMLPARSEAPI(XML_Size) XML_GetCurrentColumnNumber(XML_Parser parser);
XMLPARSEAPI(uint64_t) XML_GetCurrentColumnNumber64(XML_Parser parser);
XML_ATTR_DEPRECATED("please use XML_GetCurrentByteIndex64 instead")
XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser);
XMLPARSEAPI(int64_t) XML_GetCurrentByteIndex64(XML_Parser parser);

/* Return the number of bytes in the current event.
Returns 0 if the event is in an internal entity.
*/
XML_ATTR_DEPRECATED("please use XML_GetCurrentByteCount64 instead")
XMLPARSEAPI(int)
XML_GetCurrentByteCount(XML_Parser parser);
XMLPARSEAPI(uint64_t)
XML_GetCurrentByteCount64(XML_Parser parser);

/* If XML_CONTEXT_BYTES is >=1, returns the input buffer, sets
the integer pointed to by offset to the offset within this buffer
Expand All @@ -979,8 +990,11 @@ XML_GetCurrentByteCount(XML_Parser parser);
NOTE: The character pointer returned should not be used outside
the handler that makes the call.
*/
XML_ATTR_DEPRECATED("please use XML_GetInputContext64 instead")
XMLPARSEAPI(const char *)
XML_GetInputContext(XML_Parser parser, int *offset, int *size);
XMLPARSEAPI(const char *)
XML_GetInputContext64(XML_Parser parser, int64_t *offset, uint64_t *size);

/* For backwards compatibility with previous versions. */
# define XML_GetErrorLineNumber XML_GetCurrentLineNumber
Expand Down Expand Up @@ -1035,11 +1049,15 @@ enum XML_FeatureEnum {
XML_FEATURE_UNICODE_WCHAR_T,
XML_FEATURE_DTD,
XML_FEATURE_CONTEXT_BYTES,
/* Added in Expat 1.95.5, removed in Expat 2.9.0. */
XML_FEATURE_MIN_SIZE,
XML_FEATURE_SIZEOF_XML_CHAR,
XML_FEATURE_SIZEOF_XML_LCHAR,
/* Added in Expat 2.0.0. */
XML_FEATURE_NS,
/* Added in Expat 2.0.1. */
XML_FEATURE_LARGE_SIZE,
/* Added in Expat 2.1.0, removed in Expat 2.9.0. */
XML_FEATURE_ATTR_INFO,
/* Added in Expat 2.4.0. */
XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_MAXIMUM_AMPLIFICATION_DEFAULT,
Expand All @@ -1061,6 +1079,41 @@ typedef struct {
XMLPARSEAPI(const XML_Feature *)
XML_GetFeatureList(void);

/* Added in Expat 2.9.0. */
enum XML_Parser_Property {
# if defined(XML_TESTING)
XML_PROP_INVALID = 0,
# endif
# if XML_GE == 1
XML_PROP_ALLOC_TRACKER_ACTIVATION_THRESHOLD = 1, // of type `uint64_t`
XML_PROP_ALLOC_TRACKER_MAXIMUM_AMPLIFICATION = 2, // of type `double`
XML_PROP_BILLION_LAUGHS_ACTIVATION_THRESHOLD = 3, // of type `uint64_t`
XML_PROP_BILLION_LAUGHS_MAXIMUM_AMPLIFICATION = 4, // of type `double`
# endif
XML_PROP_REPARSE_DEFERRAL_ENABLED = 5, // of type `XML_Bool`
/* more properties upcoming here */
};

/* Added in Expat 2.9.0. */
XMLPARSEAPI(enum XML_Prop_Error)
XML_GetPropertyBool(XML_Parser parser, enum XML_Parser_Property property,
XML_Bool *value);
XMLPARSEAPI(enum XML_Prop_Error)
XML_GetPropertyDouble(XML_Parser parser, enum XML_Parser_Property property,
double *value);
XMLPARSEAPI(enum XML_Prop_Error)
XML_GetPropertyUInt64(XML_Parser parser, enum XML_Parser_Property property,
uint64_t *value);
XMLPARSEAPI(enum XML_Prop_Error)
XML_SetPropertyBool(XML_Parser parser, enum XML_Parser_Property property,
XML_Bool value);
XMLPARSEAPI(enum XML_Prop_Error)
XML_SetPropertyDouble(XML_Parser parser, enum XML_Parser_Property property,
double value);
XMLPARSEAPI(enum XML_Prop_Error)
XML_SetPropertyUInt64(XML_Parser parser, enum XML_Parser_Property property,
uint64_t value);

# if defined(XML_DTD) || (defined(XML_GE) && XML_GE == 1)
/* Added in Expat 2.4.0 for XML_DTD defined and
* added in Expat 2.6.0 for XML_GE == 1. */
Expand Down Expand Up @@ -1093,8 +1146,8 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
See https://semver.org
*/
# define XML_MAJOR_VERSION 2
# define XML_MINOR_VERSION 8
# define XML_MICRO_VERSION 2
# define XML_MINOR_VERSION 9
# define XML_MICRO_VERSION 0

# ifdef __cplusplus
}
Expand Down
17 changes: 17 additions & 0 deletions base/poco/XML/include/Poco/XML/expat_external.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
Copyright (c) 2026 Matthew Fernandez <matthew.fernandez@gmail.com>
Copyright (c) 2026 Braian Plaku <braianplaku@gmail.com>
Licensed under the MIT license:

Permission is hereby granted, free of charge, to any person obtaining
Expand All @@ -36,6 +37,8 @@
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT
*/

#ifndef Expat_External_INCLUDED
Expand Down Expand Up @@ -123,6 +126,17 @@
# define XML_ATTR_ALLOC_SIZE(x)
# endif

/* Marks a function that Expat still provides but that callers should move off
of. */
# if defined(__clang__) || defined(__GNUC__)
# define XML_ATTR_DEPRECATED(message) \
__attribute__((__deprecated__(message)))
# elif defined(_MSC_VER)
# define XML_ATTR_DEPRECATED(message) __declspec(deprecated(message))
# else
# define XML_ATTR_DEPRECATED(message) // empty i.e. no deprecation
# endif

# define XMLPARSEAPI(type) XMLIMPORT type XMLCALL

# ifdef __cplusplus
Expand Down Expand Up @@ -152,6 +166,9 @@ typedef char XML_LChar;
# endif /* XML_UNICODE */

# ifdef XML_LARGE_SIZE /* Use large integers for file/stream positions. */
# if defined(__clang__) || defined(__GNUC__)
# warning Macro XML_LARGE_SIZE is deprecated, please use the 64bit location API functions instead.
# endif
typedef long long XML_Index;
typedef unsigned long long XML_Size;
# else
Expand Down
2 changes: 2 additions & 0 deletions base/poco/XML/src/ascii.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT
*/

#define ASCII_A 0x41
Expand Down
2 changes: 2 additions & 0 deletions base/poco/XML/src/asciitab.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

SPDX-License-Identifier: MIT
*/

/* 0x00 */ BT_NONXML, BT_NONXML, BT_NONXML, BT_NONXML,
Expand Down
Loading
Loading