Skip to content

Commit 258f285

Browse files
KershawChangmoz-wptsync-bot
authored andcommitted
Reject IPv4 host numbers whose value exceeds 0xFFFFFFFF
Differential Revision: https://phabricator.services.mozilla.com/D296046 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2033644 gecko-commit: 3bb50e28ba95d4eb134327f7b2a6dfeb86f1b29e gecko-commit-git: d2e168111229e1f33c4a4bf31056d5f29f1eba9c gecko-reviewers: necko-reviewers, valentin
1 parent f58c291 commit 258f285

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

url/resources/urltestdata.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6070,6 +6070,16 @@
60706070
"base": "http://other.com/",
60716071
"failure": true
60726072
},
6073+
{
6074+
"input": "http://18446744073709551616",
6075+
"base": "http://other.com/",
6076+
"failure": true
6077+
},
6078+
{
6079+
"input": "http://18446744075840258049",
6080+
"base": "http://other.com/",
6081+
"failure": true
6082+
},
60736083
{
60746084
"input": "http://0xffffffff",
60756085
"base": "http://other.com/",

0 commit comments

Comments
 (0)