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 2003/01/01 03:10:14 UTC
DO NOT REPLY [Bug 15746] New: -
Possible concurrency problem in StandardSession.recycle()
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15746>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15746
Possible concurrency problem in StandardSession.recycle()
Summary: Possible concurrency problem in
StandardSession.recycle()
Product: Tomcat 4
Version: 4.1.19
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: phil@steitz.com
A session being recycled could have attributes added by other threads *after*
the attributes are cleared, since this method is not synchronized.
This exposure can be eliminated by moving the isValid = false to the beginning
of the method.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>