[
https://issues.apache.org/jira/browse/XERCESC-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Tierney updated XERCESC-1958:
-----------------------------------
Attachment: xmluni.cpp.patch
Patch for util/XMLUni.cpp with the fgXercesLoadSchema XMLCh[] properly
null-terminated.
> XMLUni::fgXercesLoadSchema[] is not null-terminated in XMLUni.cpp
> -----------------------------------------------------------------
>
> Key: XERCESC-1958
> URL: https://issues.apache.org/jira/browse/XERCESC-1958
> Project: Xerces-C++
> Issue Type: Bug
> Components: Validating Parser (XML Schema)
> Affects Versions: 3.0.0
> Environment: Solaris
> Reporter: Niall Tierney
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: xmluni.cpp.patch
>
> Original Estimate: 1m
> Remaining Estimate: 1m
>
> The XMLUni::fgXercesLoadSchema XMLCh[] in /util/XMLUni.cpp is not
> null-terminated.
> This causes an "Unknown Feature" exception to be thrown by the parser.
> The array should be terminated with the chNull character to avoid this
> exception.
> Note that i've tested on 3.0.0, but i can see in the SVN repository that this
> bug still exists in the head of the tree.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]