Line 0
Link Here
|
|
|
1 |
--- autorespond.c.orig Mon Aug 18 14:41:33 2003 |
2 |
+++ autorespond.c Mon Aug 18 14:42:14 2003 |
3 |
@@ -572,7 +572,7 @@ |
4 |
if ( *rpath == '$' ) |
5 |
{ |
6 |
rpath = safe_malloc( strlen(TheUser) + strlen(TheDomain) + 2); |
7 |
- strncpy( rpath, TheUser, strlen(TheUser) ); |
8 |
+ strncpy( rpath, TheUser, strlen(TheUser) + 1 ); |
9 |
strncat( rpath, "@", 1 ); |
10 |
strncat( rpath, TheDomain, strlen(TheDomain) ); |
11 |
} |