You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (JIRA)" <ji...@apache.org> on 2010/12/07 19:34:12 UTC
[jira] Updated: (SANTUARIO-216) DSIGXPathFilterExpr - std::vector -
out of index
[ https://issues.apache.org/jira/browse/SANTUARIO-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor updated SANTUARIO-216:
-----------------------------------
Fix Version/s: C++ 1.6.0
> DSIGXPathFilterExpr - std::vector - out of index
> ------------------------------------------------
>
> Key: SANTUARIO-216
> URL: https://issues.apache.org/jira/browse/SANTUARIO-216
> Project: Santuario
> Issue Type: Bug
> Components: C++
> Affects Versions: C++ 1.5.1
> Environment: Operating System: Windows NT
> Platform: PC
> Reporter: Patrick Hagelkruys
> Assignee: XML Security Developers Mailing List
> Priority: Minor
> Fix For: C++ 1.6.0
>
>
> In the function DSIGTransformXPathFilter::expr(unsigned int n) the size check for the vector m_expr is wrong.
> You should compare (n >= m_exprs.size()) rather then (n > m_exprs.size()), because the argument n must be lower then m_exprs.size(), the index of the std::vector starts at 0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.