Skip to content

gtk/accessibletext: handle NULL default values

Christian Hergert requested to merge wip/chergert/fix-a11y-default-attributes into main

The default implementation for get_default_attributes() returns NULL for both names and values yet the code which iterates them is assuming they will never be NULL.

Since the interface implies that if the values are set, they will return valid strings, make the default implementation do that.

Fixes: #7069 (closed)

Since this is causing a11y crashes for QA on Fedora 41, I'd suggest backporting to 4.16 too.

Merge request reports

Loading