Dangerous Function Cast at main_proto_draw.c:1346 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
remember_ptree_widget (/home/sate/Testcases/c/cve/wireshark-1.2.0/gtk/main_proto_draw.c)![]() | ||||||
![]() | ||||||
1336 | /* Add a protocol tree to the list of protocol tree . */ | |||||
1337 | static void GtkWidget *ptreew, gpointer data); ( | |||||
1338 | ||||||
1339 | static void | |||||
1340 | GtkWidget *ptreew) ( | |||||
1341 | { | |||||
1342 | g_list_append( , ptreew); = | |||||
1343 | ||||||
1344 | /* Catch the "destroy" event on the , so that we remove it from | |||||
1345 | the list when it's destroyed. */ | |||||
1346 | g_signal_connect(ptreew, "destroy", G_CALLBACK( ), NULL);
| |||||
1347 | } | |||||
1348 | ||||||
1349 | /* Remove a protocol tree from the list of protocol tree . */ | |||||
1350 | static void | |||||
1351 | GtkWidget *ptreew, gpointer data (_U_) | |||||
1352 | { | |||||
1353 | g_list_remove( , ptreew); = | |||||
1354 | } | |||||
1355 | ||||||
1356 | /* Set the selection mode of a given packet tree window. */ | |||||
![]() |