diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-27 20:16:30 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2009-10-27 20:16:30 +0000 |
commit | 3a9ba8036893c34334278715198d19f42336f388 (patch) | |
tree | 96544d454516310796af67ccf171bbaf4a465d36 /src/pugixpath.cpp | |
parent | fb689fed2ba7034d91227bd4663870469bd2f612 (diff) |
XPath: Fixed concat() crash
git-svn-id: http://pugixml.googlecode.com/svn/trunk@178 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixpath.cpp')
-rw-r--r-- | src/pugixpath.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pugixpath.cpp b/src/pugixpath.cpp index 5071fa0..d94fb34 100644 --- a/src/pugixpath.cpp +++ b/src/pugixpath.cpp @@ -1208,7 +1208,7 @@ namespace pugi // tree node structure
xpath_ast_node* m_left;
- xpath_ast_node* m_right;
+ xpath_ast_node* m_right;
xpath_ast_node* m_third;
xpath_ast_node* m_next;
@@ -1857,7 +1857,8 @@ namespace pugi else m_contents = 0;
}
public:
- xpath_ast_node(ast_type_t type, const char* contents, xpath_allocator& a): m_type(type), m_rettype(ast_type_none), m_contents(0)
+ xpath_ast_node(ast_type_t type, const char* contents, xpath_allocator& a): m_type(type),
+ m_rettype(ast_type_none), m_left(0), m_right(0), m_third(0), m_next(0), m_contents(0)
{
set_contents(contents, a);
}
|