Skip to content

Conversation

@davidmoten
Copy link
Collaborator

A check for n == Long.MAX_VALUE is missing from the Producer implementation which opens up the possibility of passing through an unintended request for Long.MAX_VALUE-1.

@davidmoten
Copy link
Collaborator Author

I'm not supplying a unit test, sorry about that, time short.

@cloudbees-pull-request-builder

ReactiveX » RxJava » RxJava-pull-requests #15 SUCCESS
This pull request looks good

@benjchristensen
Copy link
Member

Ha, interesting bug. Good catch. Thank you @davidmoten

benjchristensen added a commit that referenced this pull request Sep 5, 2014
OperatorScan should check for MAX_VALUE on request
@benjchristensen benjchristensen merged commit 69fa2ff into ReactiveX:0.20.x Sep 5, 2014
@davidmoten davidmoten deleted the scan-fix branch April 10, 2015 04:43
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.

3 participants