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: skip files greater than or equal to 2GB #2334

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

dekelund
Copy link

@dekelund dekelund commented Nov 2, 2021

fix: skip files greater than or equal to 2GB

Due to limitations with nodes Buffer, we agreed
to skip files greater than or equal to 2GB.

This is implemented by following changes:

  • Add file size validation to find.ts

To test this fix, run the CLI test with an unmanaged
project containing a file of at least 2GB. Consider
it a success if it's not crashing, and we generate
signatures for all other files.

Due to limitations with nodes Buffer, we agreed
to skip files greater than or equal to 2GB.

This is implemented by following changes:

- Add file size validation to find.ts
@dekelund dekelund marked this pull request as ready for review November 3, 2021 14:49
@dekelund dekelund requested a review from a team as a code owner November 3, 2021 14:49
@dekelund dekelund merged commit 3ad91d2 into master Nov 3, 2021
@dekelund dekelund deleted the update-cpp-plugin-to-v2.12.4 branch November 3, 2021 14:55
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