Projects
openEuler:24.03:SP1:Everything:64G
expat
_service:tar_scm:backport-005-CVE-2023-52425.patch
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-005-CVE-2023-52425.patch of Package expat
From 1b728cf8376a166d21eae818dfa66c55b6209bc4 Mon Sep 17 00:00:00 2001 From: Snild Dolkow <snild@sony.com> Date: Thu, 24 Aug 2023 14:10:58 +0200 Subject: [PATCH] tests: Set isFinal in test_column_number_after_parse Reference: https://github.com/libexpat/libexpat/pull/745/commits/2cee1061e2fec10633c3f02a961dabf95e85910a Conflict: remove basic_tests.c change runtests.c Without this, parsing of the end tag may be deferred, yielding an unexpected column number. --- tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/runtests.c b/tests/runtests.c index 8f1d11f0..9931d85e 100644 --- a/tests/runtests.c +++ b/tests/runtests.c @@ -1071,7 +1071,7 @@ START_TEST(test_column_number_after_parse) { const char *text = "<tag></tag>"; XML_Size colno; - if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_FALSE) + if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) == XML_STATUS_ERROR) xml_failure(g_parser); colno = XML_GetCurrentColumnNumber(g_parser); -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2