Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for STS-912 #64

Open
wants to merge 2 commits into
base: 1.5.x
Choose a base branch
from
Open

Conversation

9Ofbeapyia
Copy link

This pull request should fix STS-912.

We ran into the bug on Weblogic 12 and I invested some time to investigate and fix this issue. For better testing I moved the inner class MyServletOutputStream.

The reason for the bug is, that for some reason bbuf.remaining() is returning 0 and so the for loop ends up in an infinity loop. This is somehow connected to characters with code < 0, because only with those characters I was able to reproduce this and only for some numbers of special characters, that's why there are tests for 632 and 633 of those characters.

The only real change is in MyServletOutputStream.write.

Holger Wanke added 2 commits March 6, 2017 20:42
bugfix + test
bugfix + test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant