Skip to content

Commit

Permalink
Fix unmatched array length in core_java.c (issue #16304) (#16313)
Browse files Browse the repository at this point in the history
  • Loading branch information
philoinovsky committed Mar 26, 2020
1 parent 80f59a7 commit ced0223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/core/p/core_java.c
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ static int r_cmd_java_call(void *user, const char *input) {
if (input[4] != ' ') {
return r_cmd_java_handle_help (core, input);
}
for (; i < END_CMDS; i++) {
for (; i < END_CMDS - 1; i++) {
//IFDBG r_cons_printf ("Checking cmd: %s %d %s\n", JAVA_CMDS[i].name, JAVA_CMDS[i].name_len, p);
IFDBG r_cons_printf ("Checking cmd: %s %d\n", JAVA_CMDS[i].name,
strncmp (input+5, JAVA_CMDS[i].name, JAVA_CMDS[i].name_len));
Expand Down

0 comments on commit ced0223

Please sign in to comment.