mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* Prevent crash in balancer manager if invalid balancer name is passed as
parameter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@607273 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -671,7 +671,7 @@ static int balancer_handler(request_rec *r)
|
||||
proxy_worker *ws;
|
||||
|
||||
ws = ap_proxy_get_worker(r->pool, conf, name);
|
||||
if (ws) {
|
||||
if (bsel && ws) {
|
||||
worker = (proxy_worker *)bsel->workers->elts;
|
||||
for (n = 0; n < bsel->workers->nelts; n++) {
|
||||
if (strcasecmp(worker->name, ws->name) == 0) {
|
||||
|
Reference in New Issue
Block a user