Commit f22132e
deps: v8: fix potential segfault in profiler
This change fixes a potential segfault in the sampling heap profiler.
This landed as part of a larger change upstream [1]. This is the minimal
backport that avoids the segfault.
[1]: https://git.io/vdTYL
PR-URL: #15498
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 1483ebd commit f22132eCopy full SHA for f22132e
File tree
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Filter options
- deps/v8/src/profiler
Expand file treeCollapse file tree
1 file changed
+5
-2
lines changedOpen diff view settings
Collapse file
deps/v8/src/profiler/sampling-heap-profiler.h
Copy file name to clipboardExpand all lines: deps/v8/src/profiler/sampling-heap-profiler.h+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
150 | | - |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
151 | 154 | |
152 | 155 | |
153 | 156 | |
|
0 commit comments