Commit 4ff6c77
committed
deps: V8: cherry-pick e06ace6b5cdb
Original commit message:
[api] Fix empty Maybe crash in GetRealNamedPropertyAttributes
`Object::GetRealNamedPropertyAttributes()` can crash if an empty
`Maybe` is returned by `JSReceiver::GetPropertyAttributes()` because
it was not checking for that. Fix that.
Refs: #34606
Change-Id: Ic83f904ba7134786bcd8f786eb2ce98adb4fea1e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2335057
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69258}
Refs: v8/v8@e06ace6
PR-URL: #34673
Fixes: #34606
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 63cd05b commit 4ff6c77Copy full SHA for 4ff6c77
File tree
Expand file treeCollapse file tree
3 files changed
+50
-6
lines changedOpen diff view settings
Filter options
- deps/v8
- src/api
- test/cctest
Expand file treeCollapse file tree
3 files changed
+50
-6
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
38 | 38 | |
39 | 39 | |
40 | 40 | |
|
Collapse file
+7-5Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4701 | 4701 | |
4702 | 4702 | |
4703 | 4703 | |
4704 | | - |
4705 | | - |
4706 | | - |
| 4704 | + |
| 4705 | + |
| 4706 | + |
4707 | 4707 | |
4708 | 4708 | |
4709 | 4709 | |
| ||
4716 | 4716 | |
4717 | 4717 | |
4718 | 4718 | |
| 4719 | + |
4719 | 4720 | |
4720 | 4721 | |
4721 | 4722 | |
| ||
4740 | 4741 | |
4741 | 4742 | |
4742 | 4743 | |
4743 | | - |
4744 | | - |
| 4744 | + |
| 4745 | + |
4745 | 4746 | |
4746 | 4747 | |
4747 | 4748 | |
4748 | 4749 | |
4749 | 4750 | |
4750 | 4751 | |
| 4752 | + |
4751 | 4753 | |
4752 | 4754 | |
4753 | 4755 | |
|
Collapse file
deps/v8/test/cctest/test-api.cc
Copy file name to clipboardExpand all lines: deps/v8/test/cctest/test-api.cc+42Lines changed: 42 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12011 | 12011 | |
12012 | 12012 | |
12013 | 12013 | |
| 12014 | + |
| 12015 | + |
| 12016 | + |
| 12017 | + |
| 12018 | + |
| 12019 | + |
| 12020 | + |
| 12021 | + |
| 12022 | + |
| 12023 | + |
| 12024 | + |
| 12025 | + |
| 12026 | + |
| 12027 | + |
| 12028 | + |
| 12029 | + |
| 12030 | + |
| 12031 | + |
| 12032 | + |
| 12033 | + |
| 12034 | + |
| 12035 | + |
| 12036 | + |
| 12037 | + |
| 12038 | + |
| 12039 | + |
| 12040 | + |
| 12041 | + |
| 12042 | + |
| 12043 | + |
| 12044 | + |
| 12045 | + |
| 12046 | + |
| 12047 | + |
| 12048 | + |
| 12049 | + |
| 12050 | + |
| 12051 | + |
| 12052 | + |
| 12053 | + |
| 12054 | + |
| 12055 | + |
12014 | 12056 | |
12015 | 12057 | |
12016 | 12058 | |
|
0 commit comments