From db3dca6dbd32fe6ea3d51bc037e6f9cdc66c343b Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Sun, 16 Sep 2001 01:02:46 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_4_4_0'. --- japanese/sj3-lib/files/patch-ai | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 japanese/sj3-lib/files/patch-ai (limited to 'japanese/sj3-lib/files/patch-ai') diff --git a/japanese/sj3-lib/files/patch-ai b/japanese/sj3-lib/files/patch-ai deleted file mode 100644 index b2ed64a2b9c6..000000000000 --- a/japanese/sj3-lib/files/patch-ai +++ /dev/null @@ -1,22 +0,0 @@ ---- server/execute.c.orig Mon Apr 13 07:20:22 1998 -+++ server/execute.c Fri Feb 2 19:47:07 2001 -@@ -105,7 +105,7 @@ - i = strlen(dict_dir) + 1 + strlen(path) + 1; - if (i > sizeof(tmp)) return ERROR; - -- strcpy(tmp, path); -+ strlcpy(tmp, path, sizeof(tmp)); - index = strtok(tmp, "/"); - do { - if (!strcmp(index, "..")) return ERROR; -@@ -118,9 +118,7 @@ - return ERROR; - } - } -- strcpy(tmp, dict_dir); -- strcat(tmp, "/"); -- strcat(tmp, path); -+ snprintf(tmp, sizeof(tmp), "%s/%s", dict_dir, path); - strcpy(path, tmp); - return 0; - } -- cgit v1.2.3