Commit a40730b
deps: backport IsValid changes from 4e8736d in V8
V8 erroneously did null pointer checks on `this`.
It can lead to a SIGSEGV crash if node is compiled with GCC 6.
Backport relevant changes from [1] that fix this issue.
[1]: https://codereview.chromium.org/1900423002
Fixes: #6272
PR-URL: #6669
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 855604c commit a40730bCopy full SHA for a40730b
File tree
Expand file treeCollapse file tree
5 files changed
+9
-9
lines changedOpen diff view settings
Filter options
- deps/v8
- src/heap
- test/cctest
Expand file treeCollapse file tree
5 files changed
+9
-9
lines changedOpen diff view settings
Collapse file
deps/v8/src/heap/incremental-marking.cc
Copy file name to clipboardExpand all lines: deps/v8/src/heap/incremental-marking.cc+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
364 | 364 | |
365 | 365 | |
366 | 366 | |
367 | | - |
| 367 | + |
368 | 368 | |
369 | 369 | |
370 | 370 | |
| ||
396 | 396 | |
397 | 397 | |
398 | 398 | |
399 | | - |
| 399 | + |
400 | 400 | |
401 | 401 | |
402 | 402 | |
|
Collapse file
deps/v8/src/heap/spaces-inl.h
Copy file name to clipboardExpand all lines: deps/v8/src/heap/spaces-inl.h+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
155 | 155 | |
156 | 156 | |
157 | 157 | |
158 | | - |
| 158 | + |
159 | 159 | |
160 | 160 | |
161 | 161 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2953 | 2953 | |
2954 | 2954 | |
2955 | 2955 | |
2956 | | - |
| 2956 | + |
2957 | 2957 | |
2958 | 2958 | |
2959 | 2959 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
278 | 278 | |
279 | 279 | |
280 | 280 | |
281 | | - |
| 281 | + |
282 | 282 | |
283 | | - |
| 283 | + |
284 | 284 | |
285 | 285 | |
286 | 286 | |
|
Collapse file
deps/v8/test/cctest/test-spaces.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-spaces.cc+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
314 | 314 | |
315 | 315 | |
316 | 316 | |
317 | | - |
| 317 | + |
318 | 318 | |
319 | 319 | |
320 | 320 | |
| ||
325 | 325 | |
326 | 326 | |
327 | 327 | |
328 | | - |
| 328 | + |
329 | 329 | |
330 | 330 | |
331 | 331 | |
| ||
336 | 336 | |
337 | 337 | |
338 | 338 | |
339 | | - |
| 339 | + |
340 | 340 | |
341 | 341 | |
342 | 342 | |
|
0 commit comments