You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/08/11 09:36:02 UTC
DO NOT REPLY [Bug 45610] New: status-worker: Bug in request
parameter parsing for update action
https://issues.apache.org/bugzilla/show_bug.cgi?id=45610
Summary: status-worker: Bug in request parameter parsing for
update action
Product: Tomcat 5
Version: 5.5.26
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Native:JK
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: G.Jaekel@D-NB.DE
Hi,
using mod_jk 1.2.26, i noticed an serious error in parameter parsing of the
status worker using the update action:
In a service script i'm using an URL like
$STATUS_URL/jk-status?mime=txt&cmd=update&w=$CLUSTER&sw=$WORKER&wa=$STATE
to switch the workers of clustered tomcat setup. In principle, all things work
right. But if i (erroneously) set the empty value for the sub-worker tag
(...&sw=&...), something completely wrong will happen: You'll got an
"OK"-message and the sticky session attribute will be disabled!
Looks to me like a typical overwriting of a parameter block through a dangling
pointer.
There might be more of this kind of bugs, one may do a complete revision of the
parameter parsing.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45610] status-worker: Bug in request parameter
parsing for update action
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45610
Rainer Jung <ra...@kippdata.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Rainer Jung <ra...@kippdata.de> 2009-12-21 15:36:51 UTC ---
Erroneous unsetting of sticky_session has been fixed in
http://svn.apache.org/viewvc?rev=893028&view=rev
It was not dangling pointer issue, simply a wrong handling of default values
for sticky_session and sticky_session_force.
Being less tolerant for an empty sub worker param has been added in
http://svn.apache.org/viewvc?rev=893032&view=rev
Note: this will only forbid "sw=" (no value) but not "sw" without "=".
Thanks for reporting the issue. Both fixes will be part of version 1.2.29.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org