Commit cc33a18
child_process: harden against prototype pollution
PR-URL: #48726
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 2c75b9e commit cc33a18Copy full SHA for cc33a18
File tree
Expand file treeCollapse file tree
2 files changed
+64
-2
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+64
-2
lines changedOpen diff view settings
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
| 141 | + |
142 | 142 | |
143 | 143 | |
144 | 144 | |
| ||
196 | 196 | |
197 | 197 | |
198 | 198 | |
199 | | - |
| 199 | + |
200 | 200 | |
201 | 201 | |
202 | 202 | |
| ||
329 | 329 | |
330 | 330 | |
331 | 331 | |
| 332 | + |
332 | 333 | |
333 | 334 | |
334 | 335 | |
| ||
703 | 704 | |
704 | 705 | |
705 | 706 | |
| 707 | + |
706 | 708 | |
707 | 709 | |
708 | 710 | |
| ||
828 | 830 | |
829 | 831 | |
830 | 832 | |
| 833 | + |
831 | 834 | |
832 | 835 | |
833 | 836 | |
|
Collapse file
test/parallel/test-child-process-prototype-tampering.mjs
Copy file name to clipboard+59Lines changed: 59 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
0 commit comments