From 9f86dae98914c994a27dd605a0dbcb8d63d7b905 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sun, 15 Dec 2024 14:27:05 +0100 Subject: [PATCH] test: Add test case for UAF in xmlSchemaIDCFillNodeTables --- result/schemas/bug322411_1_1.err | 1 + test/schemas/bug322411_1.xml | 67 ++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 result/schemas/bug322411_1_1.err create mode 100644 test/schemas/bug322411_1.xml diff --git a/result/schemas/bug322411_1_1.err b/result/schemas/bug322411_1_1.err new file mode 100644 index 00000000..082a4245 --- /dev/null +++ b/result/schemas/bug322411_1_1.err @@ -0,0 +1 @@ +./test/schemas/bug322411_1.xml validates diff --git a/test/schemas/bug322411_1.xml b/test/schemas/bug322411_1.xml new file mode 100644 index 00000000..aaa1f67b --- /dev/null +++ b/test/schemas/bug322411_1.xml @@ -0,0 +1,67 @@ + + + + + dupl1 + dupl2 + dupl3 + dupl4 + dupl5 + dupl6 + dupl7 + dupl8 + dupl9 + dupl10 + dupl11 + dupl12 + dupl13 + dupl14 + dupl15 + dupl16 + dupl17 + dupl18 + dupl19 + dupl20 + dupl21 + dupl22 + dupl23 + dupl24 + dupl25 + + + dupl1 + dupl2 + dupl3 + dupl4 + dupl5 + dupl6 + dupl7 + dupl8 + dupl9 + dupl10 + dupl11 + dupl12 + dupl13 + dupl14 + dupl15 + dupl16 + dupl17 + dupl18 + dupl19 + dupl20 + dupl21 + dupl22 + dupl23 + dupl24 + dupl25 + + dupl1 + 1 + + + + + 1 + + +