Commit b062b498 authored by Milan Crha's avatar Milan Crha

Add a safety check to e-tree-table-adapter.c:resort_node() function

There could happen a crash here, when a NULL was passed into
the function, as reported downstream at:
parent 6b255d78
......@@ -197,6 +197,8 @@ resort_node (ETreeTableAdapter *etta,
gint i, count;
gboolean sort_needed;
g_return_if_fail (node != NULL);
if (node->num_visible_children == 0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment