Skip to content

Commit

Permalink
Merge pull request #2842 from fengxue-IS/condyVerifier2
Browse files Browse the repository at this point in the history
Check for valid Constant_Dynamic name and signature
  • Loading branch information
DanHeidinga authored Sep 14, 2018
2 parents e4adaea + 1346615 commit e8ecf38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/bcverify/staticverify.c
Original file line number Diff line number Diff line change
Expand Up @@ -1694,6 +1694,8 @@ j9bcv_verifyClassStructure (J9PortLibrary * portLib, J9CfrClassFile * classfile,
}
}
break;
case CFR_CONSTANT_Dynamic: /* fall through */
/* No static constraints defined (so far) on slot1 (bsmIndex) */
case CFR_CONSTANT_Fieldref:
nameAndSig = &classfile->constantPool[info->slot2];
utf8 = &classfile->constantPool[nameAndSig->slot1];
Expand Down

0 comments on commit e8ecf38

Please sign in to comment.