diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 5 | ||||
-rw-r--r-- | pango/fonts.c | 2 |
6 files changed, 26 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> + + * pango/fonts.c (pango_font_description_from_string): Avoid crash + with string such as " 12" (bug #103674) + Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index 5fd99d48..443e0bf9 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,8 @@ +2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> + + * pango/fonts.c (pango_font_description_from_string): Avoid crash + with string such as " 12" (bug #103674) + Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index 5fd99d48..443e0bf9 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,8 @@ +2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> + + * pango/fonts.c (pango_font_description_from_string): Avoid crash + with string such as " 12" (bug #103674) + Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index 5fd99d48..443e0bf9 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,8 @@ +2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> + + * pango/fonts.c (pango_font_description_from_string): Avoid crash + with string such as " 12" (bug #103674) + Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index 5fd99d48..443e0bf9 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,8 @@ +2003-01-17 Padraig O'Briain <padraig.obriain@sun.com> + + * pango/fonts.c (pango_font_description_from_string): Avoid crash + with string such as " 12" (bug #103674) + Fri Jan 10 18:56:36 2003 Owen Taylor <otaylor@redhat.com> * pango/opentype/ftxgdef.c: Export TT_New_GDEF_Table diff --git a/pango/fonts.c b/pango/fonts.c index 07b248d7..18323596 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -864,7 +864,7 @@ pango_font_description_from_string (const char *str) while (last > str && g_ascii_isspace (*(last - 1))) last--; - while (g_ascii_isspace (*str)) + while (last > str && g_ascii_isspace (*str)) str++; if (str != last) |