aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-27 21:26:29 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2009-09-27 21:26:29 +0000
commita92ccd4320e3914288380a00bae6fabd1fa4f349 (patch)
tree3c2e8d1deefdf6efdcd34158227216828bb56ce2
parent1bfb079484b7e9837edd784c5e3b70693c43924d (diff)
Fix a possible dereference of null pointer.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30176 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--tap-comparestat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tap-comparestat.c b/tap-comparestat.c
index 43b7f5b25c..e3d94ab55a 100644
--- a/tap-comparestat.c
+++ b/tap-comparestat.c
@@ -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*/