Null Pointer Dereference at tap-comparestat.c:328 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
call_foreach_merge_settings (/home/sate/Testcases/c/cve/wireshark-1.2.0/tap-comparestat.c)![]() | ||||||
![]() | ||||||
310 | call_foreach_merge_settings(gpointer value, gpointer arg) | |||||
311 | { | |||||
312 | comparestat_t *cs=(comparestat_t*)arg; | |||||
313 | frame_info *fInfo=(frame_info*)value, *fInfoTemp=NULL; | |||||
314 | guint32 tot_packet_amount=cs->first_file_amount+cs->second_file_amount, swap; | |||||
315 | ||||||
316 | if((fInfo->num==tot_packet_amount)&&(cs->stop_packet_nr_first!=G_MAXINT32)){ | |||||
317 | /* calculate missing stop number */ | |||||
318 | swap=cs->stop_packet_nr_first; | |||||
319 | cs->stop_packet_nr_first=tot_packet_amount-cs->second_file_amount;; | |||||
320 | cs->stop_packet_nr_second=swap; | |||||
321 | } | |||||
322 | ||||||
323 | if((fInfo->num==tot_packet_amount)&&(cs->stop_packet_nr_first==G_MAXINT32)&&(cs->start_packet_nr_first!=G_MAXINT32)){ | |||||
324 | [+] | fInfoTemp=se_tree_lookup32(cs->packet_tree, cs->start_packet_nr_first); | ||||
325 | if(fInfoTemp==NULL){ | |||||
326 | printf("ERROR: start number not set correctly\n"); | |||||
327 | } | |||||
328 | if(fmod(fInfoTemp->zebra_time.nsecs, 2)){
| |||||
![]() |