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

mw: fix transform middleware regression with XML #1166

Merged
merged 1 commit into from Sep 29, 2017
Merged

mw: fix transform middleware regression with XML #1166

merged 1 commit into from Sep 29, 2017

Conversation

mvdan
Copy link
Contributor

@mvdan mvdan commented Sep 29, 2017

This was a crash in the mxj library concerning invalid input from a
reader, as it would not properly error and stop. We did not hit this
before in 2.3.x as we used a []byte, not an io.Reader.

The upstream issue is clbanning/mxj#38, fixed
back in February.

Add a regression test and bump the vendored version.

Fixes #1122.

@mvdan mvdan requested a review from buger September 29, 2017 11:02
This was a crash in the mxj library concerning invalid input from a
reader, as it would not properly error and stop. We did not hit this
before in 2.3.x as we used a []byte, not an io.Reader.

The upstream issue is clbanning/mxj#38, fixed
back in February.

Add a regression test and bump the vendored version.

Fixes #1122.
@buger buger merged commit 286a8db into TykTechnologies:master Sep 29, 2017
@mvdan mvdan deleted the mxj-crash branch September 29, 2017 17:21
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.

Request transform causes an out-of-memory panic
2 participants