You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2006/10/26 12:19:30 UTC

svn commit: r467947 - in /xml/security/trunk/c: CHANGELOG.txt src/dsig/DSIGXPathFilterExpr.cpp

Author: blautenb
Date: Thu Oct 26 03:19:30 2006
New Revision: 467947

URL: http://svn.apache.org/viewvc?view=rev&rev=467947
Log:
Bug in TxfmXPathFilterExpr

Modified:
    xml/security/trunk/c/CHANGELOG.txt
    xml/security/trunk/c/src/dsig/DSIGXPathFilterExpr.cpp

Modified: xml/security/trunk/c/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/CHANGELOG.txt?view=diff&rev=467947&r1=467946&r2=467947
==============================================================================
--- xml/security/trunk/c/CHANGELOG.txt (original)
+++ xml/security/trunk/c/CHANGELOG.txt Thu Oct 26 03:19:30 2006
@@ -13,6 +13,8 @@
 * Fix bug in envelope transform when input nodeset is a document
   fragment rather than the entire document and the canonicalisation
   uses a namespace that was not defined directly in the fragment
+* Fix bug in DSIGXPathFilterExpr where m_loaded was not initialised
+  potentially causing an exception when an XPath expression was loaded
 
 Changes between version 1.2.1 and 1.3
 =====================================

Modified: xml/security/trunk/c/src/dsig/DSIGXPathFilterExpr.cpp
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/src/dsig/DSIGXPathFilterExpr.cpp?view=diff&rev=467947&r1=467946&r2=467947
==============================================================================
--- xml/security/trunk/c/src/dsig/DSIGXPathFilterExpr.cpp (original)
+++ xml/security/trunk/c/src/dsig/DSIGXPathFilterExpr.cpp Thu Oct 26 03:19:30 2006
@@ -59,14 +59,16 @@
 DSIGXPathFilterExpr::DSIGXPathFilterExpr(const XSECEnv * env, DOMNode * node) :
 mp_env(env),
 mp_xpathFilterNode(node),
-mp_NSMap(NULL) {
+mp_NSMap(NULL),
+m_loaded(false) {
 
 }
 
 DSIGXPathFilterExpr::DSIGXPathFilterExpr(const XSECEnv * env) :
 mp_env(env),
 mp_xpathFilterNode(NULL),
-mp_NSMap(NULL) {
+mp_NSMap(NULL),
+m_loaded(false)  {
 
 }