Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #3

Closed
wants to merge 2 commits into from
Closed

fix #3

Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

fix

  • Loading branch information
yevgenypats committed Jul 7, 2019
commit f612f1a69840a6b0cc162e06f621cc8c16d7b7d4
@@ -12,7 +12,7 @@ int test_string(const char *src, size_t len)
} else {
if (strncmp(src, FLAG, strlen(FLAG)) == 0) {
// TRIGGER HEAP OVERFLOW READ
if (src[len] == 0) {
if (src[len-1] == 0) {
return -2;
}
return -1;
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.