Commit b4c75a9
src: fix
This fixes a comparison failure occurring when the upper value of a
type tag is 0, or a type tag value is 0.
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com
PR-URL: #43788
Fixes: #43786
Reviewed-By: Michael Dawson <midawson@redhat.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>napi_check_object_type_tag()
1 parent 8c8c97d commit b4c75a9Copy full SHA for b4c75a9
File tree
Expand file treeCollapse file tree
3 files changed
+24
-4
lines changedOpen diff view settings
Filter options
- src
- test/js-native-api/test_object
Expand file treeCollapse file tree
3 files changed
+24
-4
lines changedOpen diff view settings
Collapse file
+10-2Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2452 | 2452 | |
2453 | 2453 | |
2454 | 2454 | |
2455 | | - |
2456 | | - |
| 2455 | + |
| 2456 | + |
| 2457 | + |
| 2458 | + |
| 2459 | + |
| 2460 | + |
| 2461 | + |
| 2462 | + |
| 2463 | + |
| 2464 | + |
2457 | 2465 | |
2458 | 2466 | |
2459 | 2467 | |
|
Collapse file
test/js-native-api/test_object/test.js
Copy file name to clipboardExpand all lines: test/js-native-api/test_object/test.js+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
| 166 | + |
| 167 | + |
166 | 168 | |
167 | 169 | |
168 | 170 | |
169 | 171 | |
| 172 | + |
| 173 | + |
170 | 174 | |
171 | 175 | |
172 | 176 | |
173 | 177 | |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
| 182 | + |
174 | 183 | |
175 | 184 | |
176 | 185 | |
|
Collapse file
test/js-native-api/test_object/test_object.c
Copy file name to clipboardExpand all lines: test/js-native-api/test_object/test_object.c+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
605 | 605 | |
606 | 606 | |
607 | 607 | |
608 | | - |
| 608 | + |
609 | 609 | |
610 | | - |
| 610 | + |
| 611 | + |
| 612 | + |
| 613 | + |
611 | 614 | |
612 | 615 | |
613 | 616 | |
|
0 commit comments