-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Heap allocation size failed #209
Labels
Comments
I'm not sure what to do with this information alone. Do you have the source code that triggered this crash? |
This code calls "Vec::with_capacity" through the code below:
So, according to these two code, if the size of file is big enough to exceed the heap size, the "Heap allocation size error" occurs.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
v0.11.14-1-gcc05721
Description
There is a heap allocation-size fail due to the unsafe "alloc" function used by 'customasm::util::bigint::BigInt::shl' function.
Current Behavior
ASAN detect heap allocation size failed due to the allocation by 'customasm::util::bigint::BigInt::shl' function exceed the maximum supported size
Expected Behavior
Memory-safety code with no allocation-size failed. This might be handled by denying allocation when the size of object exceeds the maximum allocation size.
The text was updated successfully, but these errors were encountered: