You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2010/05/06 13:38:10 UTC

DO NOT REPLY [Bug 49256] New: DSIGXPathFilterExpr - std::vector - out of index

https://issues.apache.org/bugzilla/show_bug.cgi?id=49256

           Summary: DSIGXPathFilterExpr - std::vector - out of index
           Product: Security
           Version: C++ 1.5.1
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: C++ Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: hagelkruys@a-trust.at


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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 49256] DSIGXPathFilterExpr - std::vector - out of index

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49256

Scott Cantor <ca...@osu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Scott Cantor <ca...@osu.edu> 2010-05-06 10:24:52 EDT ---
http://svn.apache.org/viewvc?view=revision&revision=941751

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.