Commit 9527a2a
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 8766b5b commit 9527a2a
3 files changed
+50
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4653 | 4653 | | |
4654 | 4654 | | |
4655 | 4655 | | |
4656 | | - | |
4657 | | - | |
4658 | | - | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
4659 | 4659 | | |
4660 | 4660 | | |
4661 | 4661 | | |
| |||
4668 | 4668 | | |
4669 | 4669 | | |
4670 | 4670 | | |
| 4671 | + | |
4671 | 4672 | | |
4672 | 4673 | | |
4673 | 4674 | | |
| |||
4692 | 4693 | | |
4693 | 4694 | | |
4694 | 4695 | | |
4695 | | - | |
4696 | | - | |
| 4696 | + | |
| 4697 | + | |
4697 | 4698 | | |
4698 | 4699 | | |
4699 | 4700 | | |
4700 | 4701 | | |
4701 | 4702 | | |
4702 | 4703 | | |
| 4704 | + | |
4703 | 4705 | | |
4704 | 4706 | | |
4705 | 4707 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11959 | 11959 | | |
11960 | 11960 | | |
11961 | 11961 | | |
| 11962 | + | |
| 11963 | + | |
| 11964 | + | |
| 11965 | + | |
| 11966 | + | |
| 11967 | + | |
| 11968 | + | |
| 11969 | + | |
| 11970 | + | |
| 11971 | + | |
| 11972 | + | |
| 11973 | + | |
| 11974 | + | |
| 11975 | + | |
| 11976 | + | |
| 11977 | + | |
| 11978 | + | |
| 11979 | + | |
| 11980 | + | |
| 11981 | + | |
| 11982 | + | |
| 11983 | + | |
| 11984 | + | |
| 11985 | + | |
| 11986 | + | |
| 11987 | + | |
| 11988 | + | |
| 11989 | + | |
| 11990 | + | |
| 11991 | + | |
| 11992 | + | |
| 11993 | + | |
| 11994 | + | |
| 11995 | + | |
| 11996 | + | |
| 11997 | + | |
| 11998 | + | |
| 11999 | + | |
| 12000 | + | |
| 12001 | + | |
| 12002 | + | |
| 12003 | + | |
11962 | 12004 | | |
11963 | 12005 | | |
11964 | 12006 | | |
| |||
0 commit comments