1
0
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:
Ruediger Pluem
2007-12-28 15:53:45 +00:00
parent c8dd361906
commit d80bc134c9
2 changed files with 4 additions and 1 deletions

View File

@@ -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) {