Give pdfium_xfa_fuzzer a dedicated corpus.
Instead of using the general PDFium testing/resources directory, which also has lots of non-XFA files. BUG=913962 Change-Id: Ifa558920ded7c854c2ed7ed8376822f13b9caa3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1549612 Auto-Submit: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Max Moroz <mmoroz@chromium.org> Cr-Commit-Position: refs/heads/master@{#647436}
This commit is contained in:
@ -304,7 +304,7 @@ if (pdf_enable_v8) {
|
||||
"//third_party/pdfium/testing/fuzzers:pdfium_xfa_fuzzer_src",
|
||||
]
|
||||
dict = "dicts/pdf.dict"
|
||||
seed_corpus = "//third_party/pdfium/testing/resources"
|
||||
seed_corpus = "corpora/xfa"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_1.pdf
Normal file
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_1.pdf
Normal file
Binary file not shown.
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_2.pdf
Normal file
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_2.pdf
Normal file
Binary file not shown.
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_3.pdf
Normal file
BIN
pdf/pdfium/fuzzers/corpora/xfa/bug_1258_3.pdf
Normal file
Binary file not shown.
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_1.pdf
Normal file
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_1.pdf
Normal file
@ -0,0 +1,45 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 114
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<subform use=" .[$host.calculationsEnabled=$]">
|
||||
<field>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
46
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_2.pdf
Normal file
46
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_2.pdf
Normal file
@ -0,0 +1,46 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 115
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<defaultUi use=" .[c=$]">
|
||||
<field>
|
||||
<contentArea name="c">
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_3.pdf
Normal file
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1269_3.pdf
Normal file
@ -0,0 +1,45 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 96
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<template use=" .[Space($)]">
|
||||
<field>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1270.pdf
Normal file
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1270.pdf
Normal file
@ -0,0 +1,45 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 84
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<subform use="$">
|
||||
<field>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1272.pdf
Normal file
45
pdf/pdfium/fuzzers/corpora/xfa/bug_1272.pdf
Normal file
@ -0,0 +1,45 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 101
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<subform use=" .[$.clone(1)]">
|
||||
<bindItems>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
46
pdf/pdfium/fuzzers/corpora/xfa/bug_1273.pdf
Normal file
46
pdf/pdfium/fuzzers/corpora/xfa/bug_1273.pdf
Normal file
@ -0,0 +1,46 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA 3 0 R
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 119
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
||||
<template>
|
||||
<subform>
|
||||
<breakBefore>
|
||||
<script>host.openList("""")</script>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
234
pdf/pdfium/fuzzers/corpora/xfa/xfa_combobox.pdf
Normal file
234
pdf/pdfium/fuzzers/corpora/xfa/xfa_combobox.pdf
Normal file
@ -0,0 +1,234 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 716
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="en_US" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="18pt" y="18pt" w="612pt" h="792pt"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<field name="ImageField1" y="0pt" x="0pt" w="425pt" h="80pt">
|
||||
<ui>
|
||||
<choiceList open="userControl"/>
|
||||
</ui>
|
||||
<items save="1">
|
||||
<text>clams</text>
|
||||
<text>oysters</text>
|
||||
<text>crabs</text>
|
||||
</items>
|
||||
</field>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
229
pdf/pdfium/fuzzers/corpora/xfa/xfa_date_time_edit.pdf
Normal file
229
pdf/pdfium/fuzzers/corpora/xfa/xfa_date_time_edit.pdf
Normal file
@ -0,0 +1,229 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 567
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="en_US" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="18pt" y="18pt" w="612pt" h="792pt"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<field name="TextField1" y="0pt" x="0pt" w="425pt" h="80pt">
|
||||
<ui>
|
||||
<dateTimeEdit/>
|
||||
</ui>
|
||||
</field>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
230
pdf/pdfium/fuzzers/corpora/xfa/xfa_example.pdf
Normal file
230
pdf/pdfium/fuzzers/corpora/xfa/xfa_example.pdf
Normal file
@ -0,0 +1,230 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 633
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="zh_CN" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="0.25in" y="0.25in" w="7.75in" h="11.25in"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<draw name="HelloWorld" y="0.5in" x="0.5in" w="5in" h="2in">
|
||||
<font typeface="Ahem" size="20pt"/>
|
||||
<value>
|
||||
<text>Hello, world.</text>
|
||||
</value>
|
||||
</draw>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
231
pdf/pdfium/fuzzers/corpora/xfa/xfa_multiline_textfield.pdf
Normal file
231
pdf/pdfium/fuzzers/corpora/xfa/xfa_multiline_textfield.pdf
Normal file
@ -0,0 +1,231 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 651
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="en_US" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="18pt" y="18pt" w="612pt" h="792pt"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<field name="TextField1" y="0pt" x="0pt" w="425pt" h="80pt">
|
||||
<ui>
|
||||
<textEdit multiLine="1">
|
||||
<font typeface="Helvetica" size="16pt"/>
|
||||
</textEdit>
|
||||
</ui>
|
||||
</field>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
235
pdf/pdfium/fuzzers/corpora/xfa/xfa_rectangle_node.pdf
Normal file
235
pdf/pdfium/fuzzers/corpora/xfa/xfa_rectangle_node.pdf
Normal file
@ -0,0 +1,235 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 716
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="en_US" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="18pt" y="18pt" w="612pt" h="792pt"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<draw h="11.43mm" name="Rectangle3" w="30.48mm" x="170.18mm" y="65.868mm">
|
||||
<ui>
|
||||
<defaultUi />
|
||||
</ui>
|
||||
<value>
|
||||
<rectangle>
|
||||
<corner radius="5.08mm" />
|
||||
<edge />
|
||||
</rectangle>
|
||||
</value>
|
||||
</draw>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
249
pdf/pdfium/fuzzers/corpora/xfa/xfa_textfield.pdf
Normal file
249
pdf/pdfium/fuzzers/corpora/xfa/xfa_textfield.pdf
Normal file
@ -0,0 +1,249 @@
|
||||
%PDF-1.7
|
||||
%<25><><EFBFBD><EFBFBD>
|
||||
1 0 obj <<
|
||||
/AcroForm 2 0 R
|
||||
/Extensions <<
|
||||
/ADBE <<
|
||||
/BaseVersion /1.7
|
||||
/ExtensionLevel 8
|
||||
>>
|
||||
>>
|
||||
/NeedsRendering true
|
||||
/Pages 8 0 R
|
||||
/Type /Catalog
|
||||
>>
|
||||
endobj
|
||||
2 0 obj <<
|
||||
/XFA [
|
||||
(preamble)
|
||||
3 0 R
|
||||
(config)
|
||||
4 0 R
|
||||
(template)
|
||||
5 0 R
|
||||
(localeSet)
|
||||
6 0 R
|
||||
(postamble)
|
||||
7 0 R
|
||||
]
|
||||
>>
|
||||
endobj
|
||||
3 0 obj <<
|
||||
/Length 124
|
||||
>>
|
||||
stream
|
||||
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2018-02-23T21:37:11Z" uuid="21482798-7bf0-40a4-bc5d-3cefdccf32b5">
|
||||
endstream
|
||||
endobj
|
||||
4 0 obj <<
|
||||
/Length 642
|
||||
>>
|
||||
stream
|
||||
<config xmlns="http://www.xfa.org/schema/xci/3.0/">
|
||||
<agent name="designer">
|
||||
<destination>pdf</destination>
|
||||
<pdf>
|
||||
<fontInfo/>
|
||||
</pdf>
|
||||
</agent>
|
||||
<present>
|
||||
<pdf>
|
||||
<version>1.7</version>
|
||||
<adobeExtensionLevel>8</adobeExtensionLevel>
|
||||
<renderPolicy>client</renderPolicy>
|
||||
<scriptModel>XFA</scriptModel>
|
||||
<interactive>1</interactive>
|
||||
</pdf>
|
||||
<xdp>
|
||||
<packets>*</packets>
|
||||
</xdp>
|
||||
<destination>pdf</destination>
|
||||
<script>
|
||||
<runScripts>server</runScripts>
|
||||
</script>
|
||||
</present>
|
||||
<acrobat>
|
||||
<acrobat7>
|
||||
<dynamicRender>required</dynamicRender>
|
||||
</acrobat7>
|
||||
<validate>preSubmit</validate>
|
||||
</acrobat>
|
||||
</config>
|
||||
endstream
|
||||
endobj
|
||||
5 0 obj <<
|
||||
/Length 1144
|
||||
>>
|
||||
stream
|
||||
<template xmlns="http://www.xfa.org/schema/xfa-template/3.3/">
|
||||
<subform name="form1" layout="tb" locale="en_US" restoreState="auto">
|
||||
<pageSet>
|
||||
<pageArea name="Page1" id="Page1">
|
||||
<contentArea x="18pt" y="18pt" w="612pt" h="792pt"/>
|
||||
<medium stock="default" short="612pt" long="792pt"/>
|
||||
</pageArea>
|
||||
</pageSet>
|
||||
<subform w="576pt" h="756pt" name="Page1">
|
||||
<field name="TextField1" y="0pt" x="0pt" w="200pt" h="32pt">
|
||||
<font typeface="Ahem" size="20pt"/>
|
||||
<ui>
|
||||
<textEdit/>
|
||||
</ui>
|
||||
<para vAlign="middle"/>
|
||||
</field>
|
||||
<field name="Button1" y="42pt" x="0pt" w="100pt" h="32pt">
|
||||
<ui>
|
||||
<button highlight="inverted"/>
|
||||
</ui>
|
||||
<font typeface="Ahem" size="20pt"/>
|
||||
<caption>
|
||||
<value>
|
||||
<text>Dummy</text>
|
||||
</value>
|
||||
<para vAlign="middle" hAlign="center"/>
|
||||
</caption>
|
||||
<border hand="right">
|
||||
<edge stroke="raised"/>
|
||||
<fill>
|
||||
<color value="212,208,200"/>
|
||||
</fill>
|
||||
</border>
|
||||
</field>
|
||||
</subform>
|
||||
</subform>
|
||||
</template>
|
||||
endstream
|
||||
endobj
|
||||
6 0 obj <<
|
||||
/Length 3455
|
||||
>>
|
||||
stream
|
||||
<localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
|
||||
<locale name="en_US" desc="English (United States)">
|
||||
<calendarSymbols name="gregorian">
|
||||
<monthNames>
|
||||
<month>January</month>
|
||||
<month>February</month>
|
||||
<month>March</month>
|
||||
<month>April</month>
|
||||
<month>May</month>
|
||||
<month>June</month>
|
||||
<month>July</month>
|
||||
<month>August</month>
|
||||
<month>September</month>
|
||||
<month>October</month>
|
||||
<month>November</month>
|
||||
<month>December</month>
|
||||
</monthNames>
|
||||
<monthNames abbr="1">
|
||||
<month>Jan</month>
|
||||
<month>Feb</month>
|
||||
<month>Mar</month>
|
||||
<month>Apr</month>
|
||||
<month>May</month>
|
||||
<month>Jun</month>
|
||||
<month>Jul</month>
|
||||
<month>Aug</month>
|
||||
<month>Sep</month>
|
||||
<month>Oct</month>
|
||||
<month>Nov</month>
|
||||
<month>Dec</month>
|
||||
</monthNames>
|
||||
<dayNames>
|
||||
<day>Sunday</day>
|
||||
<day>Monday</day>
|
||||
<day>Tuesday</day>
|
||||
<day>Wednesday</day>
|
||||
<day>Thursday</day>
|
||||
<day>Friday</day>
|
||||
<day>Saturday</day>
|
||||
</dayNames>
|
||||
<dayNames abbr="1">
|
||||
<day>Sun</day>
|
||||
<day>Mon</day>
|
||||
<day>Tue</day>
|
||||
<day>Wed</day>
|
||||
<day>Thu</day>
|
||||
<day>Fri</day>
|
||||
<day>Sat</day>
|
||||
</dayNames>
|
||||
<meridiemNames>
|
||||
<meridiem>AM</meridiem>
|
||||
<meridiem>PM</meridiem>
|
||||
</meridiemNames>
|
||||
<eraNames>
|
||||
<era>BC</era>
|
||||
<era>AD</era>
|
||||
</eraNames>
|
||||
</calendarSymbols>
|
||||
<datePatterns>
|
||||
<datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
|
||||
<datePattern name="long">MMMM D, YYYY</datePattern>
|
||||
<datePattern name="med">MMM D, YYYY</datePattern>
|
||||
<datePattern name="short">M/D/YY</datePattern>
|
||||
</datePatterns>
|
||||
<timePatterns>
|
||||
<timePattern name="full">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="long">h:MM:SS A Z</timePattern>
|
||||
<timePattern name="med">h:MM:SS A</timePattern>
|
||||
<timePattern name="short">h:MM A</timePattern>
|
||||
</timePatterns>
|
||||
<dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
|
||||
<numberPatterns>
|
||||
<numberPattern name="numeric">z,zz9.zzz</numberPattern>
|
||||
<numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
|
||||
<numberPattern name="percent">z,zz9%</numberPattern>
|
||||
</numberPatterns>
|
||||
<numberSymbols>
|
||||
<numberSymbol name="decimal">.</numberSymbol>
|
||||
<numberSymbol name="grouping">,</numberSymbol>
|
||||
<numberSymbol name="percent">%</numberSymbol>
|
||||
<numberSymbol name="minus">-</numberSymbol>
|
||||
<numberSymbol name="zero">0</numberSymbol>
|
||||
</numberSymbols>
|
||||
<currencySymbols>
|
||||
<currencySymbol name="symbol">$</currencySymbol>
|
||||
<currencySymbol name="isoname">USD</currencySymbol>
|
||||
<currencySymbol name="decimal">.</currencySymbol>
|
||||
</currencySymbols>
|
||||
<typefaces>
|
||||
<typeface name="Myriad Pro"/>
|
||||
<typeface name="Minion Pro"/>
|
||||
<typeface name="Courier Std"/>
|
||||
<typeface name="Adobe Pi Std"/>
|
||||
<typeface name="Adobe Hebrew"/>
|
||||
<typeface name="Adobe Arabic"/>
|
||||
<typeface name="Adobe Thai"/>
|
||||
<typeface name="Kozuka Gothic Pro-VI M"/>
|
||||
<typeface name="Kozuka Mincho Pro-VI R"/>
|
||||
<typeface name="Adobe Ming Std L"/>
|
||||
<typeface name="Adobe Song Std L"/>
|
||||
<typeface name="Adobe Myungjo Std M"/>
|
||||
</typefaces>
|
||||
</locale>
|
||||
</localeSet>
|
||||
endstream
|
||||
endobj
|
||||
7 0 obj <<
|
||||
/Length 11
|
||||
>>
|
||||
stream
|
||||
</xdp:xdp>
|
||||
endstream
|
||||
endobj
|
||||
8 0 obj <<
|
||||
/Type /Pages
|
||||
/Count 1
|
||||
/Kids [9 0 R]
|
||||
>>
|
||||
endobj
|
||||
9 0 obj <<
|
||||
/Type /Page
|
||||
/Parent 2 0 R
|
||||
/MediaBox [0 0 612 792]
|
||||
>>
|
||||
endobj
|
||||
trailer <<
|
||||
/Root 1 0 R
|
||||
>>
|
||||
%%EOF
|
Reference in New Issue
Block a user