Commit a91f6b8
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: #6544
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>1 parent 44f781d commit a91f6b8Copy full SHA for a91f6b8
File tree
Expand file treeCollapse file tree
5 files changed
+10
-10
lines changedOpen diff view settings
Filter options
- deps/v8
- src/heap
- test/cctest/heap
Expand file treeCollapse file tree
5 files changed
+10
-10
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 |
|---|---|---|
| ||
366 | 366 | |
367 | 367 | |
368 | 368 | |
369 | | - |
| 369 | + |
370 | 370 | |
371 | 371 | |
372 | 372 | |
| ||
398 | 398 | |
399 | 399 | |
400 | 400 | |
401 | | - |
| 401 | + |
402 | 402 | |
403 | 403 | |
404 | 404 | |
|
Collapse file
deps/v8/src/heap/spaces-inl.h
Copy file name to clipboardExpand all lines: deps/v8/src/heap/spaces-inl.h+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
325 | 325 | |
326 | 326 | |
327 | 327 | |
328 | | - |
| 328 | + |
329 | 329 | |
330 | 330 | |
331 | 331 | |
332 | 332 | |
333 | 333 | |
334 | 334 | |
335 | | - |
| 335 | + |
336 | 336 | |
337 | 337 | |
338 | 338 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2977 | 2977 | |
2978 | 2978 | |
2979 | 2979 | |
2980 | | - |
| 2980 | + |
2981 | 2981 | |
2982 | 2982 | |
2983 | 2983 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
558 | 558 | |
559 | 559 | |
560 | 560 | |
561 | | - |
| 561 | + |
562 | 562 | |
563 | | - |
| 563 | + |
564 | 564 | |
565 | 565 | |
566 | 566 | |
|
Collapse file
deps/v8/test/cctest/heap/test-spaces.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/heap/test-spaces.cc+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
322 | 322 | |
323 | 323 | |
324 | 324 | |
325 | | - |
| 325 | + |
326 | 326 | |
327 | 327 | |
328 | 328 | |
| ||
334 | 334 | |
335 | 335 | |
336 | 336 | |
337 | | - |
| 337 | + |
338 | 338 | |
339 | 339 | |
340 | 340 | |
| ||
345 | 345 | |
346 | 346 | |
347 | 347 | |
348 | | - |
| 348 | + |
349 | 349 | |
350 | 350 | |
351 | 351 | |
|
0 commit comments