Skip to content
Snippets Groups Projects
Commit d12fc898 authored by Arman Arethna's avatar Arman Arethna
Browse files

vuln-5 divide with only one item on stack tries to access item at array index undefined

parent bd23d279
No related branches found
No related tags found
No related merge requests found
Pipeline #57085 passed
push 10
/
\ No newline at end of file
......@@ -518,7 +518,7 @@ static int execute(void){
return -1;
}
if (stack_size() < 2){
if (stack_size() < 1){
debug_printf("Add from insufficient stack\n");
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment