Searched refs:XML_Content (Results 1 – 10 of 10) sorted by relevance
/third_party/expat/ |
D | 08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch | 34 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 …]
|
D | 02-backport-CVE-2022-22822-CVE-2022-22823-CVE-2022-22824-CVE-2022-22825-CVE-2022-22826-CVE-2022-22827.patch | 223 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);
|
D | 14-backport-Fix-build_model-regression.patch | 42 - * - 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 */
|
D | 22-backport-tests-Protect-against-nested-element-declaration-mod.patch | 21 + XML_Content *model) {
|
/third_party/python/Modules/expat/ |
D | expat.h | 166 typedef struct XML_cp XML_Content; typedef 173 XML_Content *children; 182 XML_Content *model); 960 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
|
D | xmlparse.c | 545 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/ |
D | expat.h | 167 typedef struct XML_cp XML_Content; typedef 174 XML_Content *children; 183 XML_Content *model); 961 XML_FreeContentModel(XML_Parser parser, XML_Content *model);
|
D | xmlparse.c | 560 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/ |
D | pyexpat.c | 517 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/ |
D | runtests.c | 263 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()
|