Edit

kc3-lang/libxkbcommon/src/compose

Branch :

  • Browse

    Commit

  • Author : Pierre Le Marre
    Date : 2024-01-16 11:04:59
    Hash : 43c9752d
    Message : compose: Fix iterator for empty tables The current `xkb_compose_table_iterator_next` segfaults when used with an empty table. Indeed, in this case we initialize cursors in `xkb_compose_table_iterator_new` with the dummy node and the direction `NODE_LEFT`, but the dummy node is a leaf! Fixed by initializing with no cursors when the table is has no non-dummy nodes.