diff options
Diffstat (limited to 'Build/source/texk/mendexk/kp.c')
-rw-r--r-- | Build/source/texk/mendexk/kp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/mendexk/kp.c b/Build/source/texk/mendexk/kp.c index c43453f7857..7633f8ebfc4 100644 --- a/Build/source/texk/mendexk/kp.c +++ b/Build/source/texk/mendexk/kp.c @@ -13,10 +13,10 @@ */ static const char *KP_get_path(const char *var, const char *def_val) { - char avar[50]; + char avar[264]; const char *p; strcpy(avar, "${"); - strcat(avar, var); + strncat(avar, var, 260); strcat(avar, "}"); p = kpse_path_expand(avar); return (p && *p) ? p : def_val; |