Skip to content

Commit 481dbdb

Browse files
committed
Add more locking to mod_manager
1 parent 057ed5d commit 481dbdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

native/mod_manager/mod_manager.c

+2
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,9 @@ static char *process_config(request_rec *r, char **ptr, int *errtype)
13671367
return err_msg;
13681368
}
13691369
/* Node part */
1370+
ap_assert(loc_lock_nodes() == APR_SUCCESS);
13701371
err_msg = process_config_node(ptr[i], ptr[i + 1], &nodeinfo, errtype);
1372+
loc_unlock_nodes();
13711373
if (err_msg != NULL) {
13721374
return err_msg;
13731375
}

0 commit comments

Comments
 (0)