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

Take stream position into account when calculating remaining length #5677

Merged
merged 1 commit into from Apr 3, 2014

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Apr 3, 2014

Currently PagedBytesReferenceStreamInput#read(byte[],int,int) ignores
the current pos and that causes to read past EOF

Closes #5667

Currently `PagedBytesReferenceStreamInput#read(byte[],int,int)` ignores
the current pos and that causes to read past EOF

Closes elastic#5667
@jpountz
Copy link
Contributor

jpountz commented Apr 3, 2014

LGTM

@s1monw s1monw merged commit cd552e7 into elastic:master Apr 3, 2014
@s1monw s1monw deleted the issues/5667 branch April 3, 2014 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE in PagedBytesReference
3 participants