tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Winkler <philipp_wink...@smartbasket.com>
Subject RE: BugRat Report #143 has been filed.
Date Wed, 20 Sep 2000 21:04:59 GMT
Some how the method to reproduce the bug didn't make it, so here it is:

Create a jsp with the following content:
<html>
<head>
	<title>Untitled</title>
</head>
<%!String id;%>
<%!int i;%>
<%!int j;%>
<% id = request.getParameter("id");%>
<body>
ID = <%=id%><BR>
	<% for(i=0; i < 1000; i++){
		for(j=0; j < 1000000; j++);
	}%>
ID = <%=id%>
</body>
</html>

Then open two browsers to this page. Set the id parameter uniquely for each.
Start the second browser while the first browser is still retreving the
page. The output should be something like:
ID = run_1
ID = run_2 

It does not seem to matter whether the second browsers is on a different or
the same machine.

-Phil
-----Original Message-----
From: BugRat Mail System [mailto:tomcat-bugs@cortexity.com]
Sent: Wednesday, September 20, 2000 1:07 PM
To: tomcat-bugs@cortexity.com
Subject: BugRat Report #143 has been filed.


Bug report #143 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/143>

REPORT #143 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3.1, 3.2.2
   JVM Release: jdk1.2.2, 1.3
   Operating System: linux, win2000
   OS Release: win2000
   Platform: x86

Synopsis: 
Multiple jsp request colision-variables get overwritten

Description:
When two browsers access the same jsp at the same time the page variables
for the first request get overwritten by the variables from the second
request.

Mime
View raw message