FreeBSD Bugzilla – Attachment 34253 Details for
Bug 55700
[Fix] Port: mail/autoresponder (strncpy bug)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
autorespond.diff
autorespond.diff (text/plain), 1.17 KB, created by
Alex Dupre
on 2003-08-18 17:10:23 UTC
(
hide
)
Description:
autorespond.diff
Filename:
MIME Type:
Creator:
Alex Dupre
Created:
2003-08-18 17:10:23 UTC
Size:
1.17 KB
patch
obsolete
>diff -ruN autorespond.orig/Makefile autorespond/Makefile >--- autorespond.orig/Makefile Mon Aug 18 14:47:28 2003 >+++ autorespond/Makefile Mon Aug 18 14:47:56 2003 >@@ -7,6 +7,7 @@ > > PORTNAME= autorespond > PORTVERSION= 2.0.3 >+PORTREVISION= 1 > CATEGORIES= mail > MASTER_SITES= http://www.inter7.com/devel/ > >@@ -14,7 +15,7 @@ > PATCHFILES= ${DISTNAME}-conf-strcasestr.patch > > MAINTAINER= roam@FreeBSD.org >-COMMENT= "Simple autoresponder for qmail" >+COMMENT= Simple autoresponder for qmail > > post-patch: > ${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc >diff -ruN autorespond.orig/files/patch-autorespond.c autorespond/files/patch-autorespond.c >--- autorespond.orig/files/patch-autorespond.c Thu Jan 1 01:00:00 1970 >+++ autorespond/files/patch-autorespond.c Mon Aug 18 14:47:36 2003 >@@ -0,0 +1,11 @@ >+--- autorespond.c.orig Mon Aug 18 14:41:33 2003 >++++ autorespond.c Mon Aug 18 14:42:14 2003 >+@@ -572,7 +572,7 @@ >+ if ( *rpath == '$' ) >+ { >+ rpath = safe_malloc( strlen(TheUser) + strlen(TheDomain) + 2); >+- strncpy( rpath, TheUser, strlen(TheUser) ); >++ strncpy( rpath, TheUser, strlen(TheUser) + 1 ); >+ strncat( rpath, "@", 1 ); >+ strncat( rpath, TheDomain, strlen(TheDomain) ); >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 55700
: 34253