diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-27 21:26:29 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-09-27 21:26:29 +0000 |
commit | a92ccd4320e3914288380a00bae6fabd1fa4f349 (patch) | |
tree | 3c2e8d1deefdf6efdcd34158227216828bb56ce2 | |
parent | 1bfb079484b7e9837edd784c5e3b70693c43924d (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.c | 1 |
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*/ |