diff options
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r-- | pango/pango-markup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c index 5a5b67e0..afe8a933 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -997,7 +997,7 @@ span_parse_func (MarkupData *md, n = strtoul (size, &end, 10); - if (*end != '\0') + if (*end != '\0' || n < 0 || n > 1000000) { g_set_error (error, G_MARKUP_ERROR, |