[
https://issues.apache.org/jira/browse/XERCESC-2214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Cantor resolved XERCESC-2214.
-----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Added a note to the docs for both branches.
> Wrong delete[] in MemBufInputSource dtor
> ----------------------------------------
>
> Key: XERCESC-2214
> URL: https://issues.apache.org/jira/browse/XERCESC-2214
> Project: Xerces-C++
> Issue Type: Bug
> Components: Miscellaneous
> Affects Versions: 3.2.3
> Reporter: Tobias Elbrandt
> Assignee: Scott Cantor
> Priority: Minor
> Fix For: 4.0.0, 3.2.4
>
>
> Our address sanatizer found a mismatching delete[] for memory allocated via
> {{new}} (not {{new[]}}) in the destructor of
> {color:#000000}MemBufInputSource{color}.
> I looked at the code to find places where {{new[]}} is used which would make
> it necessary to use {{delete[]}} instead of {{delete}} - without success. It
> seems to me that using {{delete[]}} is simply wrong here.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]