santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 49256] New: DSIGXPathFilterExpr - std::vector - out of index
Date Thu, 06 May 2010 11:38:10 GMT

           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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message