Browse Source

Fix UB in memcasemem when no match is found

master
JustAnotherArchivist 1 year ago
parent
commit
448e624b65
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      http-response-bodies.c

+ 1
- 0
http-response-bodies.c View File

@@ -45,6 +45,7 @@ char* memcasemem(char* haystack, size_t haystacklen, char* needle, size_t needle
}
}
}
return NULL;
}

int main(int argc, char* argv[]) {


Loading…
Cancel
Save