diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-04-01 20:42:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-04-01 20:42:45 +0300 |
commit | 1a1828648f3c06580ffe7a9f78c557a9e73c5bcd (patch) | |
tree | 890d79cbd8f77c7fec04a5bb8fcd273210b6b42a /libxerces-c/tests/net-accessor/handle-exception-as-error.patch | |
parent | 7683a8b7a9e8f4be61a5dee67667db54646d80d3 (diff) |
Upgrade to 3.2.5
Note that this upstream version properly fixes the use-after-free error
(CVE-2018-1311) triggered during the scanning of external DTDs
(see https://issues.apache.org/jira/browse/XERCESC-2188 for details).
Diffstat (limited to 'libxerces-c/tests/net-accessor/handle-exception-as-error.patch')
-rw-r--r-- | libxerces-c/tests/net-accessor/handle-exception-as-error.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/libxerces-c/tests/net-accessor/handle-exception-as-error.patch b/libxerces-c/tests/net-accessor/handle-exception-as-error.patch deleted file mode 100644 index 674e5ba..0000000 --- a/libxerces-c/tests/net-accessor/handle-exception-as-error.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/libxerces-c/tests/net-accessor/NetAccessorTest.cpp b/libxerces-c/tests/net-accessor/NetAccessorTest.cpp -index 3bb735b..c2affbd 100644 ---- a/libxerces-c/tests/net-accessor/NetAccessorTest.cpp -+++ b/libxerces-c/tests/net-accessor/NetAccessorTest.cpp -@@ -122,6 +122,8 @@ main(int argc, char** argv) - // Get the URL - char* url = argv[1]; - -+ int r = 1; -+ - // Do the test - try - { -@@ -148,11 +150,11 @@ main(int argc, char** argv) - - // Delete the is - delete is; -- -+ r = 0; - } - catch(const XMLException& toCatch) - { -- XERCES_STD_QUALIFIER cout << "Exception during test:\n " -+ XERCES_STD_QUALIFIER cerr << "Exception during test:\n " - << toCatch.getMessage() - << XERCES_STD_QUALIFIER endl; - } -@@ -160,6 +162,6 @@ main(int argc, char** argv) - // And call the termination method - XMLPlatformUtils::Terminate(); - -- return 0; -+ return r; - } - |