commit | f360d704fad6551dd05fe62bf9c4ce2f9a857e03 | [log] [tgz] |
---|---|---|
author | jfkthame <jfkthame@gmail.com> | Fri Sep 29 13:15:01 2023 +0100 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri Sep 29 11:24:36 2023 -0600 |
tree | b1064cc1f1489c05f7522c9c40a98b8b34839676 | |
parent | 333946b00e849ff6722781bc5e46bd9fcc83311a [diff] |
Check for closing quote in parse_tag Fixes #4414.
diff --git a/src/hb-common.cc b/src/hb-common.cc index bd4cd88..0c13c7d 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc
@@ -815,7 +815,7 @@ } const char *p = *pp; - while (*pp < end && (**pp != ' ' && **pp != '=' && **pp != '[')) + while (*pp < end && (**pp != ' ' && **pp != '=' && **pp != '[' && **pp != quote)) (*pp)++; if (p == *pp || *pp - p > 4)