summaryrefslogtreecommitdiff
path: root/fml/lib/Mail
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-11-20 09:43:21 +0000
committerfukachan <fukachan>2001-11-20 09:43:21 +0000
commit371304186bdc11c77869ab08d869b776ed96c00a (patch)
treed9b017e4fdccf9a0770b37cadb2d96410bd28b6b /fml/lib/Mail
parentb0a01e75dc5dd103d00f89a677fab20ebdb9945b (diff)
downloadfml8-371304186bdc11c77869ab08d869b776ed96c00a.tar.gz
fml8-371304186bdc11c77869ab08d869b776ed96c00a.tar.bz2
fml8-371304186bdc11c77869ab08d869b776ed96c00a.zip
validate input for db_mkdb()
Diffstat (limited to 'fml/lib/Mail')
-rw-r--r--fml/lib/Mail/ThreadTrack/DB.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/fml/lib/Mail/ThreadTrack/DB.pm b/fml/lib/Mail/ThreadTrack/DB.pm
index 3dac4258..7ae745ab 100644
--- a/fml/lib/Mail/ThreadTrack/DB.pm
+++ b/fml/lib/Mail/ThreadTrack/DB.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: DB.pm,v 1.13 2001/11/18 08:57:30 fukachan Exp $
+# $FML: DB.pm,v 1.14 2001/11/20 07:28:50 fukachan Exp $
#
package Mail::ThreadTrack::DB;
@@ -170,6 +170,8 @@ sub db_mkdb
my $spool_dir = $config->{ spool_dir };
my $saved_args = $self->{ _saved_args }; # original $args
+ return undef unless (defined $min_id && defined $max_id);
+
use Mail::Message;
use File::Spec;