diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-25 11:08:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-25 11:08:35 +0300 |
commit | 08015a5208b1eb8273bf4ca9dd8779188fdb8a82 (patch) | |
tree | 6e7a8dd97dbf55bf7b0e1773fc60d08fb2578e8b /libxerces-c/xercesc/inline-funcs-def-usage-order.patch | |
parent | d31a6b344973db0c96e77b923753d8b1fa8d7767 (diff) |
Release version 3.2.3+2v3.2.3+2
Use caret version constraint for depends manifest values
Add config.libxerces_c.network project configuration variable
Fix use-after-free error (CVE-2018-1311)
Add symlink attribute for symbolic links that refer to upstream subdirectories
Fix MinGW GCC's 'redeclared without dllimport attribute' warnings
Diffstat (limited to 'libxerces-c/xercesc/inline-funcs-def-usage-order.patch')
-rw-r--r-- | libxerces-c/xercesc/inline-funcs-def-usage-order.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libxerces-c/xercesc/inline-funcs-def-usage-order.patch b/libxerces-c/xercesc/inline-funcs-def-usage-order.patch new file mode 100644 index 0000000..1c7fc0c --- /dev/null +++ b/libxerces-c/xercesc/inline-funcs-def-usage-order.patch @@ -0,0 +1,38 @@ +diff --git a/libxerces-c/xercesc/util/KVStringPair.hpp b/libxerces-c/xercesc/util/KVStringPair.hpp +index aeb787a..87e2947 100644 +--- a/libxerces-c/xercesc/util/KVStringPair.hpp ++++ b/libxerces-c/xercesc/util/KVStringPair.hpp +@@ -163,16 +163,6 @@ inline XMLCh* KVStringPair::getValue() + // --------------------------------------------------------------------------- + // KVStringPair: Setters + // --------------------------------------------------------------------------- +-inline void KVStringPair::setKey(const XMLCh* const newKey) +-{ +- setKey(newKey, XMLString::stringLen(newKey)); +-} +- +-inline void KVStringPair::setValue(const XMLCh* const newValue) +-{ +- setValue(newValue, XMLString::stringLen(newValue)); +-} +- + inline void KVStringPair::setKey( const XMLCh* const newKey + , const XMLSize_t newKeyLength) + { +@@ -201,6 +191,16 @@ inline void KVStringPair::setValue( const XMLCh* const newValue + memcpy(fValue, newValue, (newValueLength+1) * sizeof(XMLCh)); // len+1 because of the 0 at the end + } + ++inline void KVStringPair::setKey(const XMLCh* const newKey) ++{ ++ setKey(newKey, XMLString::stringLen(newKey)); ++} ++ ++inline void KVStringPair::setValue(const XMLCh* const newValue) ++{ ++ setValue(newValue, XMLString::stringLen(newValue)); ++} ++ + inline void KVStringPair::set( const XMLCh* const newKey + , const XMLCh* const newValue) + { |