mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8266918
: merge_stack in check_code.c add NULL check
Reviewed-by: rschmelter, clanger
This commit is contained in:
parent
81054789a3
commit
00c88f79b3
1 changed files with 1 additions and 0 deletions
|
@ -3244,6 +3244,7 @@ merge_stack(context_type *context, unsigned int from_inumber,
|
|||
jboolean change = JNI_FALSE;
|
||||
for (old = stack, new = new_stack; old != NULL;
|
||||
old = old->next, new = new->next) {
|
||||
assert(new != NULL);
|
||||
if (!isAssignableTo(context, new->item, old->item)) {
|
||||
change = JNI_TRUE;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue