From a92ccd4320e3914288380a00bae6fabd1fa4f349 Mon Sep 17 00:00:00 2001 From: stig Date: Sun, 27 Sep 2009 21:26:29 +0000 Subject: Fix a possible dereference of null pointer. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30176 f5534014-38df-0310-8fa8-9805f1628bb7 --- tap-comparestat.c | 1 + 1 file changed, 1 insertion(+) 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*/ -- cgit v1.2.3