Commit cc8f0964 authored by William M. Brack's avatar William M. Brack

Fixed indexing error reported by Ron Burk on the mailing list.

* libexslt/strings.c: Fixed indexing error reported by Ron Burk on the mailing list.

svn path=/trunk/; revision=1494
parent eac88d34
Fri Jan 23 19:02:28 PST 2009 William Brack <wbrack@mmm.com.hk>
* libexslt/strings.c: Fixed indexing error reported by
Ron Burk on the mailing list.
Fri Nov 14 15:06:55 CET 2008 Daniel Veillard <veillard@redhat.com>
* python/Makefile.am libxslt/Makefile.am configure.in
......
......@@ -589,15 +589,14 @@ exsltStrReplaceFunction (xmlXPathParserContextPtr ctxt, int nargs) {
}
str = xmlXPathPopString(ctxt);
ret = xmlStrdup(str);
ret = xmlStrdup(str);
for (i = 0; i < searchSet->nodeNr; i++) {
searchStr = xmlXPathCastNodeToString(searchSet->nodeTab[i]);
for (i = 0; i < searchSet->nodeNr; i++) {
searchStr = xmlXPathCastNodeToString(searchSet->nodeTab[i]);
if (replaceSet != NULL) {
replaceStr = NULL;
if (i <= replaceSet->nodeNr) {
if (i < replaceSet->nodeNr) {
replaceStr = xmlXPathCastNodeToString(replaceSet->nodeTab[i]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment