PartialBufferOutputStream2 flush issues
---------------------------------------
Key: GEOS-1747
URL: http://jira.codehaus.org/browse/GEOS-1747
Project: GeoServer
Issue Type: Bug
Components: Global
Affects Versions: 1.6.0
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 1.6.1, 1.7.0-beta1
PartialBufferOutputStream2 is wrongly flushing the buffer contents on a flush() call, even if it's still working on the in memory buffer.
This may lead to failure to report service exception if the code encoding the output calls flush() before having written the full contents to the output (this happens in particular when reporting exceptions in the mime multipart code used by wcs 1.1.1, but the vulnerability is general)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira