Fix a possible dereference of null pointer.

svn path=/trunk/; revision=30176
This commit is contained in:
Stig Bjørlykke 2009-09-27 21:26:29 +00:00
parent 35ec26838b
commit ba06e79f27
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ call_foreach_merge_settings(gpointer value, gpointer arg)
fInfoTemp=se_tree_lookup32(cs->packet_tree, cs->start_packet_nr_first);
if(fInfoTemp==NULL){
printf("ERROR: start number not set correctly\n");
return FALSE;
}
if(fmod(fInfoTemp->zebra_time.nsecs, 2)){
/*first file*/