cvs commit: src/usr.sbin/sendmail Makefile mci.c.patch
Joerg Sonnenberger
joerg at crater.dragonflybsd.org
Tue Aug 23 08:29:30 PDT 2005
joerg 2005/08/23 08:28:06 PDT
DragonFly src repository
Modified files:
usr.sbin/sendmail Makefile
Added files:
usr.sbin/sendmail mci.c.patch
Log:
sendmail tried to limit directory names to MAXPATHLEN - MAXNAMLEN in an
attempt to bound the size of full path names. This is bogus, because
most directory entries are much shorter than MAXNAMLEN and some
filesystems might allow longer path names than MAXNAMLEN. Change the
logic to bound all path names to PATH_MAX by checking the return values
of sm_strlcpy.
Revision Changes Path
1.12 +4 -1 src/usr.sbin/sendmail/Makefile
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/sendmail/Makefile.diff?r1=1.11&r2=1.12&f=u
More information about the Commits
mailing list