You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "David Bertoni (JIRA)" <xa...@xml.apache.org> on 2010/05/15 22:15:43 UTC
[jira] Resolved: (XALANC-698) Buffer overflow from
XalanMessageLoader::load()
[ https://issues.apache.org/jira/browse/XALANC-698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bertoni resolved XALANC-698.
----------------------------------
Fix Version/s: CurrentCVS
Resolution: Fixed
I've committed a patch. Can you please verify? Thanks!
> Buffer overflow from XalanMessageLoader::load()
> -----------------------------------------------
>
> Key: XALANC-698
> URL: https://issues.apache.org/jira/browse/XALANC-698
> Project: XalanC
> Issue Type: Bug
> Components: XalanC
> Environment: Probably any C++ Environment
> Reporter: Scott Colcord
> Assignee: David Bertoni
> Fix For: CurrentCVS
>
>
> One of the XalanMessageLoader::load() overloads is calling XMLString::replaceTokens(), and not properly accounting for the NULL; replaceTokens() requires that the output buffer supplied be able to hold maxChars+1 characters.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org