summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-12-01 16:49:50 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-12-01 16:49:50 +0000
commitb72f857fb5b9bfe800daf6d08da85f4bff81ce1d (patch)
treee7646e48bcba6309065d54c10e73a8e5929d6dda /src
parentcdf0cd2e8fc4273a8c13bb2810a0fe2da16a003c (diff)
Harden string-list handling
Diffstat (limited to 'src')
-rw-r--r--src/src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/string.c b/src/src/string.c
index 332047460..2441f9b17 100644
--- a/src/src/string.c
+++ b/src/src/string.c
@@ -921,7 +921,7 @@ if (sep <= 0)
if (*s == '<' && (ispunct(s[1]) || iscntrl(s[1])))
{
sep = s[1];
- s += 2;
+ if (*++s) ++s;
while (isspace(*s) && *s != sep) s++;
}
else