Project

General

Profile

Bug #1951

Two pionters are missed when sess->do_x_rewrite_backend

Added by ycheng over 10 years ago. Updated over 3 years ago.

Status:
Obsolete
Priority:
High
Assignee:
-
Category:
mod_proxy_core
Target version:
Start date:
2009-03-28
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

Description

mod_proxy_core_check_match() in mod_proxy_core, when
it has a session
&
sess->do_x_rewrite_backend
&
can't find a backend
&
can't create a one
, then the following codes will be run:

if (NULL == backend) {
buffer_free(sticky_session);
return HANDLER_GO_ON;
}

but sess is reset before, sess->p and sess->remote_con are all set to NULL. Here the function returns without set the sess->p and sess->remote_con.
These two pointers will be used later, so I think it will crash.

History

#1

Updated by gstrauss over 3 years ago

  • Missing in 1.5.x set to Yes
#2

Updated by gstrauss over 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom