From 371304186bdc11c77869ab08d869b776ed96c00a Mon Sep 17 00:00:00 2001 From: fukachan Date: Tue, 20 Nov 2001 09:43:21 +0000 Subject: validate input for db_mkdb() --- fml/lib/Mail/ThreadTrack/DB.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'fml/lib/Mail/ThreadTrack') 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; -- cgit v1.2.1