undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com Patches, unit tests, benchmarks, whitepaper, and outreach briefs. Public domain — no copyright claimed. Use freely.
This commit is contained in:
commit
0a580b313d
70422 changed files with 17213626 additions and 0 deletions
7
test/jdk/java/net/URLConnection/xml/not-xml1
Normal file
7
test/jdk/java/net/URLConnection/xml/not-xml1
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?XML VERSION="1.0" ENCODING="windows-1525"?>
|
||||
<doc/>
|
||||
|
||||
<!--
|
||||
Microsoft has been shipping "XML" that is noncompliant.
|
||||
This must be rejected by any conforming XML processor.
|
||||
-->
|
||||
6
test/jdk/java/net/URLConnection/xml/not-xml2
Normal file
6
test/jdk/java/net/URLConnection/xml/not-xml2
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xMl version="1.0"?>
|
||||
<doc/>
|
||||
|
||||
<!--
|
||||
XML declarations MUST be in lowercase.
|
||||
-->
|
||||
10
test/jdk/java/net/URLConnection/xml/xml1
Normal file
10
test/jdk/java/net/URLConnection/xml/xml1
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="US-ASCII"?>
|
||||
<doc/>
|
||||
|
||||
<!--
|
||||
Most legal XML documents encoded with supersets of US-ASCII
|
||||
will start like this document. Includes ISO-8859-1, EUC-JP,
|
||||
Shift_JIS, UTF-8, ISO-2022-JP, and other encodings.
|
||||
|
||||
That is: they're flagged up front with an XML declaration.
|
||||
-->
|
||||
6
test/jdk/java/net/URLConnection/xml/xml2.xml
Normal file
6
test/jdk/java/net/URLConnection/xml/xml2.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!--
|
||||
XML declarations are optional, sometimes file types
|
||||
are used to flag things.
|
||||
-->
|
||||
|
||||
<doc/>
|
||||
BIN
test/jdk/java/net/URLConnection/xml/xml3
Normal file
BIN
test/jdk/java/net/URLConnection/xml/xml3
Normal file
Binary file not shown.
BIN
test/jdk/java/net/URLConnection/xml/xml4
Normal file
BIN
test/jdk/java/net/URLConnection/xml/xml4
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue