forked from osmocom/wireshark
GTK (conversations table): Fix Dereference of null pointer found by Clang analyzer
Change-Id: Iebe0c581259b80d905f0ef3e26c1caae07f715d1 Reviewed-on: https://code.wireshark.org/review/4012 Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
24d1295720
commit
0d6fb098d0
|
@ -1654,6 +1654,9 @@ draw_ct_table_data(conversations_table *ct)
|
|||
double duration_s;
|
||||
conv_item_t *conv_item;
|
||||
|
||||
if (!ct->hash.conv_array) {
|
||||
continue;
|
||||
}
|
||||
if (iter_valid) {
|
||||
gtk_tree_model_get(GTK_TREE_MODEL(store), &iter, CONV_INDEX_COLUMN, &idx, -1);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue