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 FulgoraGraphComputer readBatchSize number overflow fault #1300

Open
wants to merge 1 commit into
base: titan11
Choose a base branch
from

Conversation

amcp
Copy link

@amcp amcp commented Apr 7, 2016

@mbroecheler In FulgoraGraphComputer,
readBatchSize is fed into StandardScanner.Builder.setWorkBlockSize which throws for negative numbers. If readBatchSize is negative because of 10 * storage.buffer-size > Integer.MAX_VALUE, then the fault is triggered.
Instead, check writeBatchSize=storage.buffer-size in FulgoraGraphComputer constructor and throw if too large.

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