Skip to content

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