Loading support/suexec.c +1 −3 Changes for support/suexec.c: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -223,7 +223,6 @@ static void log_no_err(const char *fmt,...) static void clean_env(void) { char pathbuf[512]; char **cleanenv; char **ep; int cidx = 0; Loading @@ -245,8 +244,7 @@ static void clean_env(void) exit(123); } sprintf(pathbuf, "PATH=%s", AP_SAFE_PATH); cleanenv[cidx] = strdup(pathbuf); cleanenv[cidx] = strdup("PATH=" AP_SAFE_PATH); if (cleanenv[cidx] == NULL) { log_err("failed to malloc memory for environment\n"); exit(124); Loading Loading
support/suexec.c +1 −3 Changes for support/suexec.c: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -223,7 +223,6 @@ static void log_no_err(const char *fmt,...) static void clean_env(void) { char pathbuf[512]; char **cleanenv; char **ep; int cidx = 0; Loading @@ -245,8 +244,7 @@ static void clean_env(void) exit(123); } sprintf(pathbuf, "PATH=%s", AP_SAFE_PATH); cleanenv[cidx] = strdup(pathbuf); cleanenv[cidx] = strdup("PATH=" AP_SAFE_PATH); if (cleanenv[cidx] == NULL) { log_err("failed to malloc memory for environment\n"); exit(124); Loading