After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 469641 - Initialize attribute start/end to [0..MAXUINT]
Initialize attribute start/end to [0..MAXUINT]
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other Linux
: High enhancement
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks: 417777
 
 
Reported: 2007-08-23 16:22 UTC by Behdad Esfahbod
Modified: 2007-10-24 05:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2007-08-23 16:22:51 UTC
current attribute start/end is uninitialized.  Oops...
Bug 469593 is one example of it tricking someone...
Comment 1 Behdad Esfahbod 2007-10-24 05:45:04 UTC
2007-10-24  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469641 – Initialize attribute start/end to [0..MAXUINT]

        * pango/pango-attributes.h:
        * pango/pango-attributes.c:
        New public API:

                pango_attribute_init()

        * pango/pango-attributes.c:
        (pango_attr_string_new), (pango_attr_language_new),
        (pango_attr_color_new), (pango_attr_int_new),
        (pango_attr_float_new), (pango_attr_size_new_internal),
        (pango_attr_font_desc_new), (pango_attr_shape_new_with_data):
        Initialize attributes using pango_attribute_init().

        * pango/pango.def:
        * docs/pango-docs.sgml:
        * docs/pango-sections.txt:
        * docs/tmpl/text-attributes.sgml:
        Update.