Skip to content
  • Michael Natterer's avatar
    Bug 694417 - GIMP Segmentation Faults (Segfault, Crash) after Changing Color... · 804313bb
    Michael Natterer authored
    Don't pass a NULL pointer to gimp_text_buffer_get_font_tag() because
    it is dereferenced in a call to strcmp().
    
    gimp_context_get_font_name() returns NULL when the selected text
    includes spans with different fonts. Add the same special handling for
    spans with inconsistent sizes too, and add comments that we should
    have the same for the color.
    
    Original patch from Massimo Valentini.
    804313bb