This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 4c749ba
committed
[[ Bug 22619 ]] Fix crash where listener param is null
This patch fixes an issue where if a listener method is called where one of
the parameters is `null` a crash would occur.
`__MCJavaProperListFromJObjectArray` is currently only called from
`MCJavaPrivateDoNativeListenerCallback` where the `JObjectArray` is the
function args.1 parent 57500b0 commit 4c749ba
File tree
2 files changed
+17
-5
lines changed- docs/lcb/notes
- libfoundation/src
2 files changed
+17
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
523 | 525 | | |
524 | | - | |
525 | | - | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
526 | 534 | | |
527 | 535 | | |
528 | 536 | | |
| |||
0 commit comments