try to make flexelint happy

		if (e - p < l1 + l2)
../../lib/libvarnishapi/vsl_arg.c  133  Info 776: Possible truncation of
    addition
parent 05a068dd
...@@ -130,7 +130,7 @@ VSL_Glob2Tags(const char *glob, int l, VSL_tagfind_f *func, void *priv) ...@@ -130,7 +130,7 @@ VSL_Glob2Tags(const char *glob, int l, VSL_tagfind_f *func, void *priv)
if (p == NULL) if (p == NULL)
continue; continue;
e = strchr(p, '\0'); e = strchr(p, '\0');
if (e - p < l1 + l2) if (e - p - l1 < l2)
continue; continue;
if (p1 != NULL && strncasecmp(p, p1, l1)) if (p1 != NULL && strncasecmp(p, p1, l1))
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment