summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-04-10 10:33:17 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-04-10 10:33:17 +0000
commitc1dcd7c62cd0842f8c71668b955cde3a63ca5d57 (patch)
treeb8788ca24551665a5f9fa38877a041463f7f2cc7 /ChangeLog
parent2dc25756424f9ba88b7214cd60a949a0c88b4af6 (diff)
downloadpango-c1dcd7c62cd0842f8c71668b955cde3a63ca5d57.tar.gz
Fix minor bugs reported by the Coverity scan report.
2006-04-10 Behdad Esfahbod <behdad@gnome.org> Fix minor bugs reported by the Coverity scan report. * pango/opentype/harfbuzz-gdef.c (HB_GDEF_Build_ClassDefinition): * pango/opentype/harfbuzz-gpos.c (HB_GPOS_Query_Scripts), (HB_GPOS_Query_Languages), (HB_GPOS_Query_Features): Do not access structs before we check them for nullity. * pango/pango-layout.c (pango_layout_index_to_line), (pango_layout_index_to_line_and_extents), (pango_layout_index_to_pos): Check for invalid iterators outside the loop, so we don't crash. * pango/pango-layout.c (pango_layout_line_x_to_index): Set char_trailing instead of trailing in one of too many paths. Should have been a typo. * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity somewhere.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c4c17ad1..1a908154 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2006-04-10 Behdad Esfahbod <behdad@gnome.org>
+
+ Fix minor bugs reported by the Coverity scan report.
+
+ * pango/opentype/harfbuzz-gdef.c (HB_GDEF_Build_ClassDefinition):
+ * pango/opentype/harfbuzz-gpos.c (HB_GPOS_Query_Scripts),
+ (HB_GPOS_Query_Languages), (HB_GPOS_Query_Features): Do not access
+ structs before we check them for nullity.
+
+ * pango/pango-layout.c (pango_layout_index_to_line),
+ (pango_layout_index_to_line_and_extents),
+ (pango_layout_index_to_pos): Check for invalid iterators outside the
+ loop, so we don't crash.
+
+ * pango/pango-layout.c (pango_layout_line_x_to_index): Set
+ char_trailing instead of trailing in one of too many paths. Should
+ have been a typo.
+
+ * pango/pangox.c (get_font_metrics_from_subfonts): Check for nullity
+ somewhere.
+
2006-04-09 Tor Lillqvist <tml@novell.com>
* pango/pango-utils.c (pango_quantize_line_geometry): Fix typo in