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 byteToString where the byte alue is greater than 1 petabyte #2827

Merged
merged 2 commits into from Apr 7, 2020

Conversation

umar456
Copy link
Member

@umar456 umar456 commented Apr 7, 2020

The bytesToString failed for values greater than a petabyte for the input byte parameter. This expands the array and addresses the issue in case someone wants to allocate a zettabyte of data.

Also suppresses a warning with newer versions of gcc and boost stacktrace

Fixes #2826

@umar456 umar456 added this to the 3.7.2 milestone Apr 7, 2020
@9prady9 9prady9 merged commit ef1e376 into arrayfire:master Apr 7, 2020
@umar456 umar456 deleted the fix_byteToStr branch June 26, 2020 18:44
@umar456 umar456 mentioned this pull request Jun 27, 2020
2 tasks
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.

AF bytesToString crash when trying to alloc a giant array
2 participants