summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-05-21 08:37:16 +0000
committerfukachan <fukachan>2002-05-21 08:37:16 +0000
commite652c047c6f4d0921b7039a9080a2ed9d95b9170 (patch)
tree783c47f59ad691ccc24b75e290adfb0f6a211a12
parented2cb76dd92cc5f38e377efb4b236c1624255c52 (diff)
downloadfml8-e652c047c6f4d0921b7039a9080a2ed9d95b9170.tar.gz
fml8-e652c047c6f4d0921b7039a9080a2ed9d95b9170.tar.bz2
fml8-e652c047c6f4d0921b7039a9080a2ed9d95b9170.zip
validate input data
-rw-r--r--fml/lib/Mail/Bounce/Postfix19991231.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fml/lib/Mail/Bounce/Postfix19991231.pm b/fml/lib/Mail/Bounce/Postfix19991231.pm
index 9033713a..f4b2de00 100644
--- a/fml/lib/Mail/Bounce/Postfix19991231.pm
+++ b/fml/lib/Mail/Bounce/Postfix19991231.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: Postfix19991231.pm,v 1.15 2002/01/16 13:43:21 fukachan Exp $
+# $FML: Postfix19991231.pm,v 1.16 2002/02/01 12:04:01 fukachan Exp $
#
@@ -62,7 +62,7 @@ sub analyze
my ($self, $msg, $result) = @_;
my $data_type = $msg->whole_message_header_data_type();
- if ($data_type =~ /multipart/i) {
+ if (defined($data_type) && $data_type && $data_type =~ /multipart/i) {
$self->_analyze_broken_dsn($msg, $result);
}
else {