Bug 340229 – pango_font_description_from_string does not do bound
authorBehdad Esfahbod <behdad@gnome.org>
Mon, 1 May 2006 14:45:56 +0000 (14:45 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Mon, 1 May 2006 14:45:56 +0000 (14:45 +0000)
commit0a7f8d6fb481d2bd502b5f376a0dcef6f82ee0ff
treeb61502955b33de7ed450953e98926c50611bded4
parent29b48d2171562fb43b3c9ffc86e1904aff462d86
Bug 340229 – pango_font_description_from_string does not do bound

2006-05-01  Behdad Esfahbod  <behdad@gnome.org>

        Bug 340229 – pango_font_description_from_string does not do bound
        checking

        * pango/fonts.c (pango_font_description_set_size),
        (pango_font_description_set_absolute_size), (parse_size):
        * pango/pango-markup.c (span_parse_func): Don't accept negative font
        sizes, and make sure sizes don't overflow.
ChangeLog
pango/fonts.c
pango/pango-markup.c