C++: Add GVN.

This commit is contained in:
Geoffrey White
2022-02-24 16:42:37 +00:00
parent 0bb9a95563
commit 899ae90ba4
3 changed files with 3 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ void test3(char *url)
void test4(char *url)
{
const char *https_string = "https://"; // GOOD (https)
const char *http_string = "http://"; // GOOD (we are not constructing the URL) [FALSE POSITIVE]
const char *http_string = "http://"; // GOOD (we are not constructing the URL)
char *ptr;
ptr = strstr(url, https_string);