Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: third_party/libxslt/libxslt/xsltInternals.h

Issue 2676223002: xsltAddTextString: Check for overflow when merging text nodes. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxslt/libxslt/transform.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Summary: internal data structures, constants and functions 2 * Summary: internal data structures, constants and functions
3 * Description: Internal data structures, constants and functions used 3 * Description: Internal data structures, constants and functions used
4 * by the XSLT engine. 4 * by the XSLT engine.
5 * They are not part of the API or ABI, i.e. they can change 5 * They are not part of the API or ABI, i.e. they can change
6 * without prior notice, use carefully. 6 * without prior notice, use carefully.
7 * 7 *
8 * Copy: See Copyright for the status of this software. 8 * Copy: See Copyright for the status of this software.
9 * 9 *
10 * Author: Daniel Veillard 10 * Author: Daniel Veillard
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 * (XSLT 1.0 term: "Result Tree Fragment") 1747 * (XSLT 1.0 term: "Result Tree Fragment")
1748 */ 1748 */
1749 xmlDocPtr tmpRVT; /* list of RVT without persistance */ 1749 xmlDocPtr tmpRVT; /* list of RVT without persistance */
1750 xmlDocPtr persistRVT; /* list of persistant RVTs */ 1750 xmlDocPtr persistRVT; /* list of persistant RVTs */
1751 int ctxtflags; /* context processing flags */ 1751 int ctxtflags; /* context processing flags */
1752 1752
1753 /* 1753 /*
1754 * Speed optimization when coalescing text nodes 1754 * Speed optimization when coalescing text nodes
1755 */ 1755 */
1756 const xmlChar *lasttext; /* last text node content */ 1756 const xmlChar *lasttext; /* last text node content */
1757 unsigned int lasttsize;» » /* last text node size */ 1757 int lasttsize;» » /* last text node size */
1758 unsigned int lasttuse;» » /* last text node use */ 1758 int lasttuse;» » /* last text node use */
1759 /* 1759 /*
1760 * Per Context Debugging 1760 * Per Context Debugging
1761 */ 1761 */
1762 int debugStatus; /* the context level debug status */ 1762 int debugStatus; /* the context level debug status */
1763 unsigned long* traceCode; /* pointer to the variable holding the m ask */ 1763 unsigned long* traceCode; /* pointer to the variable holding the m ask */
1764 1764
1765 int parserOptions; /* parser options xmlParserOption */ 1765 int parserOptions; /* parser options xmlParserOption */
1766 1766
1767 /* 1767 /*
1768 * dictionary: shared between stylesheet, context and documents. 1768 * dictionary: shared between stylesheet, context and documents.
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1968 xsltDocumentPtr doc, 1968 xsltDocumentPtr doc,
1969 xsltKeyDefPtr keyd); 1969 xsltKeyDefPtr keyd);
1970 XSLTPUBFUN int XSLTCALL 1970 XSLTPUBFUN int XSLTCALL
1971 xsltInitAllDocKeys (xsltTransformContextPtr ctxt); 1971 xsltInitAllDocKeys (xsltTransformContextPtr ctxt);
1972 #ifdef __cplusplus 1972 #ifdef __cplusplus
1973 } 1973 }
1974 #endif 1974 #endif
1975 1975
1976 #endif /* __XML_XSLT_H__ */ 1976 #endif /* __XML_XSLT_H__ */
1977 1977
OLDNEW
« no previous file with comments | « third_party/libxslt/libxslt/transform.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698