Commit 24246a2
net: throw ERR_OUT_OF_RANGE if blockList.addSubnet prefix is NaN
Fixes: #36731
PR-URL: #36732
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 2d8423d commit 24246a2Copy full SHA for 24246a2
File tree
Expand file treeCollapse file tree
2 files changed
+5
-7
lines changedOpen diff view settings
Filter options
- lib/internal
- test/parallel
Expand file treeCollapse file tree
2 files changed
+5
-7
lines changedOpen diff view settings
Collapse file
+4-7Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
26 | 25 | |
27 | 26 | |
| 27 | + |
| 28 | + |
28 | 29 | |
29 | 30 | |
30 | 31 | |
| ||
81 | 82 | |
82 | 83 | |
83 | 84 | |
84 | | - |
85 | | - |
86 | 85 | |
87 | 86 | |
88 | 87 | |
89 | 88 | |
90 | 89 | |
91 | 90 | |
92 | 91 | |
93 | | - |
94 | | - |
| 92 | + |
95 | 93 | |
96 | 94 | |
97 | 95 | |
98 | | - |
99 | | - |
| 96 | + |
100 | 97 | |
101 | 98 | |
102 | 99 | |
|
Collapse file
test/parallel/test-blocklist.js
Copy file name to clipboardExpand all lines: test/parallel/test-blocklist.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
150 | 150 | |
151 | 151 | |
152 | 152 | |
| 153 | + |
153 | 154 | |
154 | 155 | |
155 | 156 | |
|
0 commit comments