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 segmentation fault on big message serialization #128

Merged
merged 1 commit into from
Jul 13, 2021

Conversation

eigenraven
Copy link
Collaborator

I'm not entirely sure why the original code crashes with SIGSEGV on some messages in my testing, but Variable-Length Arrays aren't generally standard C++ anyway and this fix also has the benefit of having one less copy of the serialized message.

@Shillaker
Copy link
Collaborator

Nice one, LGTM, cheers @KubaSz !

@Shillaker Shillaker merged commit 837db87 into faasm:master Jul 13, 2021
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.

2 participants