summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sendmail/libsmutil/safefile.c
diff options
context:
space:
mode:
authorJohn Beck <John.Beck@Sun.COM>2010-01-06 13:22:51 -0800
committerJohn Beck <John.Beck@Sun.COM>2010-01-06 13:22:51 -0800
commite9af4bc0b1cc30cea75d6ad4aa2fde97d985e9be (patch)
tree6a7ad97561f2580625546f56c063c89ebb3b92dd /usr/src/cmd/sendmail/libsmutil/safefile.c
parent5f8171005a0c33f3c67f7da52d41c2362c3fd891 (diff)
downloadillumos-joyent-e9af4bc0b1cc30cea75d6ad4aa2fde97d985e9be.tar.gz
6913961 upgrade sendmail to 8.14.4
6790772 Array overrun in sendmail
Diffstat (limited to 'usr/src/cmd/sendmail/libsmutil/safefile.c')
-rw-r--r--usr/src/cmd/sendmail/libsmutil/safefile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr/src/cmd/sendmail/libsmutil/safefile.c b/usr/src/cmd/sendmail/libsmutil/safefile.c
index 133e933845..f299e10535 100644
--- a/usr/src/cmd/sendmail/libsmutil/safefile.c
+++ b/usr/src/cmd/sendmail/libsmutil/safefile.c
@@ -11,13 +11,11 @@
*
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sendmail.h>
#include <sm/io.h>
#include <sm/errstring.h>
-SM_RCSID("@(#)$Id: safefile.c,v 8.128 2004/09/30 18:15:49 ca Exp $")
+SM_RCSID("@(#)$Id: safefile.c,v 8.129 2008/08/04 18:07:04 gshapiro Exp $")
/*
@@ -701,7 +699,6 @@ safeopen(fn, omode, cmode, sff)
if (bitset(O_CREAT, omode))
sff |= SFF_CREAT;
omode &= ~O_CREAT;
- smode = 0;
switch (omode & O_ACCMODE)
{
case O_RDONLY: