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 #4

Closed
wants to merge 1 commit into from
Closed

fix #4

Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

fix

  • Loading branch information
yevgenypats committed Jul 8, 2019
commit 5e89041a61974cb3b5fff60400001add33f8a507
@@ -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.