Home
last modified time | relevance | path

Searched refs:XML_Content (Results 1 – 10 of 10) sorted by relevance

/third_party/expat/
D08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch34 XML_Content *model) {
93 -build_node(XML_Parser parser, int src_node, XML_Content *dest,
94 - XML_Content **contpos, XML_Char **strpos) {
124 static XML_Content *
128 + * XML_Content tree nodes followed by a gapless list of zero-terminated
131 XML_Content *ret;
132 - XML_Content *cpos;
159 + * - A stack element appears as a regular XML_Content node on the outside,
173 + XML_Content *dest = ret; /* tree node writing location, moves upwards */
174 + XML_Content *const destLimit = &ret[dtd->scaffCount];
[all …]
D02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch223 XML_Content *ret;
224 XML_Content *cpos;
226 - int allocsize = (dtd->scaffCount * sizeof(XML_Content)
234 + if (dtd->scaffCount > (size_t)(-1) / sizeof(XML_Content)) {
241 + if (dtd->scaffCount * sizeof(XML_Content)
246 + const size_t allocsize = (dtd->scaffCount * sizeof(XML_Content)
249 ret = (XML_Content *)MALLOC(parser, allocsize);
D14-backport-Fix-build_model-regression.patch42 - * - A stack element appears as a regular XML_Content node on the outside,
91 XML_Content *dest = ret; /* tree node writing location, moves upwards */
92 XML_Content *const destLimit = &ret[dtd->scaffCount];
93 - XML_Content *const stackBottom = &ret[dtd->scaffCount];
94 - XML_Content *stackTop = stackBottom; /* i.e. stack is initially empty */
95 + XML_Content *jobDest = ret; /* next free writing location in target array */
D22-backport-tests-Protect-against-nested-element-declaration-mod.patch21 + XML_Content *model) {
/third_party/python/Modules/expat/
Dexpat.h166 typedef struct XML_cp XML_Content; typedef
173 XML_Content *children;
182 XML_Content *model);
960 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
Dxmlparse.c545 static XML_Content *build_model(XML_Parser parser);
2302 XML_FreeContentModel(XML_Parser parser, XML_Content *model) { in XML_FreeContentModel()
5196 XML_Content *content in doProlog()
5197 = (XML_Content *)MALLOC(parser, sizeof(XML_Content)); in doProlog()
5280 XML_Content *model = build_model(parser); in doProlog()
7135 build_node(XML_Parser parser, int src_node, XML_Content *dest, in build_node()
7136 XML_Content **contpos, XML_Char **strpos) { in build_node()
7166 static XML_Content *
7169 XML_Content *ret; in build_model()
7170 XML_Content *cpos; in build_model()
[all …]
/third_party/skia/third_party/externals/expat/expat/lib/
Dexpat.h167 typedef struct XML_cp XML_Content; typedef
174 XML_Content *children;
183 XML_Content *model);
961 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
Dxmlparse.c560 static XML_Content *build_model(XML_Parser parser);
2338 XML_FreeContentModel(XML_Parser parser, XML_Content *model) { in XML_FreeContentModel()
5278 XML_Content *content in doProlog()
5279 = (XML_Content *)MALLOC(parser, sizeof(XML_Content)); in doProlog()
5362 XML_Content *model = build_model(parser); in doProlog()
7247 build_node(XML_Parser parser, int src_node, XML_Content *dest, in build_node()
7248 XML_Content **contpos, XML_Char **strpos) { in build_node()
7278 static XML_Content *
7281 XML_Content *ret; in build_model()
7282 XML_Content *cpos; in build_model()
[all …]
/third_party/python/Modules/
Dpyexpat.c517 conv_content_model(XML_Content * const model, in conv_content_model()
545 XML_Content *model) in my_ElementDeclHandler()
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c263 XML_Content *model) { in dummy_element_decl_handler()
3064 XML_Content *model) { in entity_suspending_decl_handler()
4986 XML_Content *model) { in element_decl_suspender()