Skip to content
Permalink
Browse files
8266918: merge_stack in check_code.c add NULL check
Reviewed-by: rschmelter, clanger
  • Loading branch information
MBaesken committed Jun 8, 2021
1 parent 8105478 commit 00c88f79b30d7867be4a66317b90b9ba7e947f4f
Showing 1 changed file with 1 addition 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;

0 comments on commit 00c88f7

Please sign in to comment.