diff options
author | jfkthame <jfkthame@gmail.com> | 2023-09-29 13:15:01 +0100 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2023-09-29 11:24:36 -0600 |
commit | f360d704fad6551dd05fe62bf9c4ce2f9a857e03 (patch) | |
tree | b1064cc1f1489c05f7522c9c40a98b8b34839676 | |
parent | 333946b00e849ff6722781bc5e46bd9fcc83311a (diff) | |
download | harfbuzz_ng-f360d704fad6551dd05fe62bf9c4ce2f9a857e03.tar.gz |
Check for closing quote in parse_tag
Fixes #4414.
-rw-r--r-- | src/hb-common.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-common.cc b/src/hb-common.cc index bd4cd88e3..0c13c7d17 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -815,7 +815,7 @@ parse_tag (const char **pp, const char *end, hb_tag_t *tag) } 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) |