diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2000-06-30 12:35:23 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2000-06-30 12:35:23 +0800 |
commit | bd552eda92dabbe86607cc266632249b21b125f4 (patch) | |
tree | 38131d77b790b7d8eb2e46b3c7f82843fd071daa /japanese | |
parent | 2afdb8123e2f2adba06081cad035880ae961874e (diff) | |
download | freebsd-ports-gnome-bd552eda92dabbe86607cc266632249b21b125f4.tar.gz freebsd-ports-gnome-bd552eda92dabbe86607cc266632249b21b125f4.tar.zst freebsd-ports-gnome-bd552eda92dabbe86607cc266632249b21b125f4.zip |
Add length of delimiters.
Suggested by: kjm@RINS.RYUKOKU.AC.JP
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Canna/files/patch-af | 4 | ||||
-rw-r--r-- | japanese/canna-lib/files/patch-af | 4 | ||||
-rw-r--r-- | japanese/canna-server/files/patch-af | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/japanese/Canna/files/patch-af b/japanese/Canna/files/patch-af index 656d80769276..48328fc6e459 100644 --- a/japanese/Canna/files/patch-af +++ b/japanese/Canna/files/patch-af @@ -6,7 +6,7 @@ if (client->groupname && client->groupname[0]) { + if (strlen(DDUSER) + strlen(client->username) + + strlen(DDGROUP) + strlen(client->groupname) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 4 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s/%s:%s", DDUSER, client->username, @@ -15,7 +15,7 @@ } else { + if (strlen(DDUSER) + strlen(client->username) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 2 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s", DDUSER, client->username, diff --git a/japanese/canna-lib/files/patch-af b/japanese/canna-lib/files/patch-af index 656d80769276..48328fc6e459 100644 --- a/japanese/canna-lib/files/patch-af +++ b/japanese/canna-lib/files/patch-af @@ -6,7 +6,7 @@ if (client->groupname && client->groupname[0]) { + if (strlen(DDUSER) + strlen(client->username) + + strlen(DDGROUP) + strlen(client->groupname) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 4 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s/%s:%s", DDUSER, client->username, @@ -15,7 +15,7 @@ } else { + if (strlen(DDUSER) + strlen(client->username) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 2 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s", DDUSER, client->username, diff --git a/japanese/canna-server/files/patch-af b/japanese/canna-server/files/patch-af index 656d80769276..48328fc6e459 100644 --- a/japanese/canna-server/files/patch-af +++ b/japanese/canna-server/files/patch-af @@ -6,7 +6,7 @@ if (client->groupname && client->groupname[0]) { + if (strlen(DDUSER) + strlen(client->username) + + strlen(DDGROUP) + strlen(client->groupname) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 4 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s/%s:%s", DDUSER, client->username, @@ -15,7 +15,7 @@ } else { + if (strlen(DDUSER) + strlen(client->username) + -+ strlen(DDPATH) >= 256) ++ strlen(DDPATH) + 2 >= 256) + return ( -1 ); sprintf(dichome, "%s/%s:%s", DDUSER, client->username, |