summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail/contrib/doublebounce.pl
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-09-17 17:31:42 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-09-17 17:31:42 +0000
commite883408a0913641ec2d452de3978a47db5f4c85e (patch)
tree32d45bdda26765a93ea86ef564a3ec12a3fa0416 /gnu/usr.sbin/sendmail/contrib/doublebounce.pl
parentdcd8a09464d293189795148dba784b422795dd9f (diff)
Update to sendmail-8.12.10. This includes a fix for a buffer overflow
in address parsing. That fix (but not all of sendmail-8.12.10) has been applied to OpenBSD 3.4 and the 3.2 and 3.2 -stable branches.
Diffstat (limited to 'gnu/usr.sbin/sendmail/contrib/doublebounce.pl')
-rw-r--r--gnu/usr.sbin/sendmail/contrib/doublebounce.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/contrib/doublebounce.pl b/gnu/usr.sbin/sendmail/contrib/doublebounce.pl
index 12601d33479..dc26ab84f1a 100644
--- a/gnu/usr.sbin/sendmail/contrib/doublebounce.pl
+++ b/gnu/usr.sbin/sendmail/contrib/doublebounce.pl
@@ -36,7 +36,7 @@
use Socket;
use Getopt::Std;
-use POSIX;
+use File::Temp;
use Sys::Syslog qw(:DEFAULT setlogsock);
use strict;
use vars qw( $opt_d $tmpfile);
@@ -125,7 +125,7 @@ sub main {
# The bounced e-mail may be large, so we'd better not try to buffer
# it in memory, get a temporary file.
- $tmpfile = POSIX::tmpnam();
+ $tmpfile = tmpnam();
if (!open(MSG, ">$tmpfile")) {
syslog('err', "Unable to open temporary file $tmpfile");