Skip to content

Commit b557d70

Browse files
committed
1 parent 07b2d08 commit b557d70

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"sarif-viewer.connectToGithubCodeScanning": "off"
3+
}

src/explore_me.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void exploreMe(int a, int b, string c) {
1414

1515
if (c == "FUZZING") {
1616
// Trigger a heap buffer overflow
17-
char *s = (char *)malloc(1);
17+
char *s = (char *)malloc(20);
1818
strcpy(s, "too long");
1919
printf("%s\n", s);
2020
}

0 commit comments

Comments
 (0)