diff options
author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2005-02-14 02:30:00 +0000 |
---|---|---|
committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2005-02-14 02:30:00 +0000 |
commit | b6bacd3150f411c3de886f7615bc22129b6974ad (patch) | |
tree | d9cfa9f19110fa167a0fec9f07c6fcfacd77aafb /contrib/sendmail/libsmutil | |
parent | e92d3f3ffe83a6ed7eaafac70da9cf4fafe13243 (diff) | |
download | src-b6bacd3150f411c3de886f7615bc22129b6974ad.tar.gz src-b6bacd3150f411c3de886f7615bc22129b6974ad.zip |
Import sendmail 8.13.3
Notes
Notes:
svn path=/vendor/sendmail/dist/; revision=141858
Diffstat (limited to 'contrib/sendmail/libsmutil')
-rw-r--r-- | contrib/sendmail/libsmutil/safefile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sendmail/libsmutil/safefile.c b/contrib/sendmail/libsmutil/safefile.c index c6cfb53ef876..8488534280e3 100644 --- a/contrib/sendmail/libsmutil/safefile.c +++ b/contrib/sendmail/libsmutil/safefile.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers. + * Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers. * All rights reserved. * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. * Copyright (c) 1988, 1993 @@ -15,7 +15,7 @@ #include <sm/io.h> #include <sm/errstring.h> -SM_RCSID("@(#)$Id: safefile.c,v 8.127 2004/05/27 22:37:51 msk Exp $") +SM_RCSID("@(#)$Id: safefile.c,v 8.128 2004/09/30 18:15:49 ca Exp $") /* @@ -489,6 +489,7 @@ safedirpath(fn, uid, gid, user, flags, level, offset) int linklen; char *target; char buf[MAXPATHLEN]; + char fullbuf[MAXLINKPATHLEN]; memset(buf, '\0', sizeof buf); linklen = readlink(s, buf, sizeof buf); @@ -544,7 +545,6 @@ safedirpath(fn, uid, gid, user, flags, level, offset) else { char *sptr; - char fullbuf[MAXLINKPATHLEN]; sptr = strrchr(s, '/'); if (sptr != NULL) |