2020-06-23 13:08:55 +02:00
|
|
|
diff --git a/src/common/env.c b/src/common/env.c
|
2023-12-03 14:20:24 +01:00
|
|
|
index 4dad18fef1..730f28af96 100644
|
2020-06-23 13:08:55 +02:00
|
|
|
--- a/src/common/env.c
|
|
|
|
+++ b/src/common/env.c
|
2023-12-03 14:20:24 +01:00
|
|
|
@@ -2073,7 +2073,7 @@ char **env_array_user_default(const char *username, int timeout, int mode,
|
2020-06-23 13:08:55 +02:00
|
|
|
char **env = NULL;
|
|
|
|
char *starttoken = "XXXXSLURMSTARTPARSINGHEREXXXX";
|
|
|
|
char *stoptoken = "XXXXSLURMSTOPPARSINGHEREXXXXX";
|
|
|
|
- char cmdstr[256], *env_loc = NULL;
|
2023-12-03 14:20:24 +01:00
|
|
|
+ char cmdstr[PATH_MAX], *env_loc = NULL;
|
2020-06-23 13:08:55 +02:00
|
|
|
char *stepd_path = NULL;
|
2023-12-03 14:20:24 +01:00
|
|
|
int fildes[2], found, fval, len, rc, timeleft;
|
2020-06-23 13:08:55 +02:00
|
|
|
int buf_read, buf_rem, config_timeout;
|