Null Pointer Dereference at gui_utils.c:1161 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
float_data_func (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/gui_utils.c)![]() | ||||||
![]() | ||||||
1145 | float_data_func (GtkTreeViewColumn *column _U_, | |||||
1146 | GtkCellRenderer *renderer, | |||||
1147 | GtkTreeModel *model, | |||||
1148 | GtkTreeIter *iter, | |||||
1149 | gpointer user_data) | |||||
1150 | { | |||||
1151 | gfloat float_val; | |||||
1152 | gchar buf[20]; | |||||
1153 | char *savelocale; | |||||
1154 | ||||||
1155 | /* the col to get data from is in userdata */ | |||||
1156 | gint float_col = GPOINTER_TO_INT(user_data); | |||||
1157 | ||||||
1158 | gtk_tree_model_get(model, iter, float_col, &float_val, -1); | |||||
1159 | ||||||
1160 | /* save the current locale */ | |||||
1161 | savelocale = setlocale(LC_NUMERIC, NULL);
| |||||
![]() |