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 virtual SDKCall with object params #1104

Merged
merged 1 commit into from
Oct 17, 2019
Merged

Fix virtual SDKCall with object params #1104

merged 1 commit into from
Oct 17, 2019

Conversation

asherkin
Copy link
Member

@asherkin asherkin commented Oct 17, 2019

PR #705 made some changes for 64-bit support that required callers to
provide a buffer for object storage, but only added the required code to
the non-virtual call builder, not the virtual call builder.

Copy it over to CreateValveVCall so that ValveParamToBinParam stops
writing to a null pointer.

Fixes #1059 (Hopefully.)

provide a buffer for object storage, but only added the required code to
the non-virtual call builder, not the virtual call builder.

Copy it over to CreateValveVCall so that ValveParamToBinParam stops
writing to a null pointer.

Fixes #1059 (Hopefully.)
@asherkin asherkin requested review from dvander and TheDS October 17, 2019 21:25
Copy link
Member

@TheDS TheDS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry about missing that case!

@asherkin asherkin merged commit 77f4ddf into master Oct 17, 2019
@asherkin asherkin deleted the fix-vcall-1059 branch October 17, 2019 23:23
Headline pushed a commit that referenced this pull request Nov 1, 2019
PR #705 made some changes for 64-bit support that required callers to
provide a buffer for object storage, but only added the required code to
the non-virtual call builder, not the virtual call builder.

Copy it over to CreateValveVCall so that ValveParamToBinParam stops
writing to a null pointer.

Fixes #1059 (Hopefully.)
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.

Segfault when setting up SDKCall with SDKType_Vector and SDKPass_ByValue on 1.10
2 participants