BugID:19406668:Add NULL check for http string
@@ -48,6 +48,10 @@ bool http_str_insensitive_cmp(char *src, char *dest, uint32_t len)
char tmp_a;
char tmp_b;
+ if (src == NULL || dest == NULL) {
+ return false;
+ }
+
if (len == 0) {
len = strlen(src);
}
