Commit 774ae5b5 authored by Johannes Schmid's avatar Johannes Schmid

symbol-db: First check for non-Null pointer before accessing child

Should fix rh#705958
parent 1236f98c
......@@ -468,8 +468,8 @@ sdb_model_iter_is_valid (GtkTreeModel *model, GtkTreeIter *iter)
gint offset;
g_return_val_if_fail (SYMBOL_DB_IS_MODEL (model), FALSE);
g_return_val_if_fail (iter->stamp == SYMBOL_DB_MODEL_STAMP, FALSE);
g_return_val_if_fail (iter != NULL, FALSE);
g_return_val_if_fail (iter->stamp == SYMBOL_DB_MODEL_STAMP, FALSE);
parent_node = (SymbolDBModelNode*) iter->user_data;
offset = GPOINTER_TO_INT (iter->user_data2);
......
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