Skip to content

Commit

Permalink
Do not accept CMD parameters without a value in manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jajik committed Aug 29, 2024
1 parent 3a926aa commit 72a4f43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions native/mod_manager/mod_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,11 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)

while (ptr[i]) {
char *err_msg = NULL;
if (ptr[i + 1] && *ptr[i + 1] == '\0') {
*errtype = TYPESYNTAX;
return SMESPAR;
}

/* Balancer part */
err_msg = process_config_balancer(r, ptr[i], ptr[i + 1], &balancerinfo, &nodeinfo, errtype);
if (err_msg != NULL) {
Expand Down

0 comments on commit 72a4f43

Please sign in to comment.