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

Crash #6

Closed
wants to merge 2 commits into from
Closed

Crash #6

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

Always

Just for now

Prev

crash

  • Loading branch information
yevgenypats committed Jul 8, 2019
commit c82994c78b0a343ece4c91192f86b0103e6a551d
@@ -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-1] == 0) {
if (src[len] == 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.