diff options
Diffstat (limited to 'japanese/canna-server/files/patch-af')
-rw-r--r-- | japanese/canna-server/files/patch-af | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/japanese/canna-server/files/patch-af b/japanese/canna-server/files/patch-af deleted file mode 100644 index 48328fc6e459..000000000000 --- a/japanese/canna-server/files/patch-af +++ /dev/null @@ -1,22 +0,0 @@ ---- server/misc.c~ Fri Jul 29 12:03:54 1994 -+++ server/misc.c Fri Jun 30 10:16:39 2000 -@@ -788,12 +788,19 @@ - - if (client->username && client->username[0]) { - if (client->groupname && client->groupname[0]) { -+ if (strlen(DDUSER) + strlen(client->username) + -+ strlen(DDGROUP) + strlen(client->groupname) + -+ strlen(DDPATH) + 4 >= 256) -+ return ( -1 ); - sprintf(dichome, "%s/%s:%s/%s:%s", - DDUSER, client->username, - DDGROUP, client->groupname, - DDPATH); - } - else { -+ if (strlen(DDUSER) + strlen(client->username) + -+ strlen(DDPATH) + 2 >= 256) -+ return ( -1 ); - sprintf(dichome, "%s/%s:%s", - DDUSER, client->username, - DDPATH); |