We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 080e65e commit 3f51f90Copy full SHA for 3f51f90
2 files changed
tutorials/c_cpp/bazel/src/explore_me.cpp
@@ -3,7 +3,6 @@
3
#include <cstring>
4
using namespace std;
5
6
-// just a function with multiple paths that can be discoverd by a fuzzer
7
void exploreMe(int a, int b, string c) {
8
if (a >= 20000) {
9
if (b >= 2000000) {
tutorials/c_cpp/cmake/src/explore_me.cpp
@@ -3,13 +3,11 @@
10
if (b - a < 100000) {
11
if (c == "FUZZING") {
12
- // Trigger a heap buffer overflow
13
char *s = (char *)malloc(8);
14
strcpy(s, "too long");
15
printf("%s\n", s);
0 commit comments