summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-1-10
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-07-26 18:07:59 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-07-26 18:07:59 +0000
commit8d45583fa1f13d77feb5d96abeae59d21ad5fe65 (patch)
tree17eeeaf4847625186a334393821864f61738c14c /ChangeLog.pre-1-10
parent5e762f5014222d71358a28474e7f53dfed609112 (diff)
downloadpango-8d45583fa1f13d77feb5d96abeae59d21ad5fe65.tar.gz
Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder)
2005-07-26 Owen Taylor <otaylor@redhat.com> Fixes for signed/unsigned in PangoAttrIterator ((#166700, Morten Welinder) * pango/pango-attributes.c (pango_attr_iterator_range): Clamp results to G_MAXINT to avoid negative numbers from signed/unsigned conversions. * pango/pango-attributes.c: Make PangoAttrIterator start_index/end_index unsigned to match PangoAttribute. Change various local variables to match. * pango/ellipsize.c (advance_iterator_to) pango/pango-attributes.c (pango_attr_iterator_range) pango/pango-glyph-item.c (pango_glyph_item_apply_attrs) pango/pango-layout.c (pango_layout_line_get_empty_extents): Always check the return value from pango_attr_iterator() to deal with potential infinite loops when trying to advance to position G_MAXINT. * pango/pango-layout.c (pango_layout_set_text): Handle the case where the text passed in is longer than than G_MAXINT and length < 0. * pango/pango-attributes.c (pango_attr_list_splice): Be careful about integer overflow - clamp addition. (#163246, Morten Welinder)
Diffstat (limited to 'ChangeLog.pre-1-10')
-rw-r--r--ChangeLog.pre-1-1029
1 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 9f1b9e86..f44cd861 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,5 +1,34 @@
2005-07-26 Owen Taylor <otaylor@redhat.com>
+ Fixes for signed/unsigned in PangoAttrIterator ((#166700,
+ Morten Welinder)
+
+ * pango/pango-attributes.c (pango_attr_iterator_range):
+ Clamp results to G_MAXINT to avoid negative numbers from
+ signed/unsigned conversions.
+
+ * pango/pango-attributes.c: Make PangoAttrIterator
+ start_index/end_index unsigned to match PangoAttribute.
+ Change various local variables to match.
+
+ * pango/ellipsize.c (advance_iterator_to)
+ pango/pango-attributes.c (pango_attr_iterator_range)
+ pango/pango-glyph-item.c (pango_glyph_item_apply_attrs)
+ pango/pango-layout.c (pango_layout_line_get_empty_extents):
+ Always check the return value from pango_attr_iterator()
+ to deal with potential infinite loops when trying to
+ advance to position G_MAXINT.
+
+ * pango/pango-layout.c (pango_layout_set_text): Handle
+ the case where the text passed in is longer than
+ than G_MAXINT and length < 0.
+
+ * pango/pango-attributes.c (pango_attr_list_splice): Be
+ careful about integer overflow - clamp addition.
+ (#163246, Morten Welinder)
+
+2005-07-26 Owen Taylor <otaylor@redhat.com>
+
* modules/indic/indic-ot-class-tables.c (oryaCharClasses):
Change U+0B30 from _rv to _rb. Oriya doesn't have a vattu
form of ra. (#151393, Gautam Sengupta, fix from