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

rpc: Fix crash when retrieving attribute length #104

Merged
merged 1 commit into from Sep 27, 2017

Conversation

ueno
Copy link
Member

@ueno ueno commented Sep 27, 2017

It is possible that NULL is given to the serializers, when
C_GetAttributeValue() just wants to know the size of an attribute.
Previously, this resulted in giving NULL to memcpy().

@ueno ueno added the bug label Sep 27, 2017
@ueno ueno added this to the 0.23.9 milestone Sep 27, 2017
It is possible that NULL is given to the serializers, when
C_GetAttributeValue() just wants to know the size of an attribute.
Previously, this resulted in giving NULL to memcpy().
@ueno ueno merged commit f51ab92 into p11-glue:master Sep 27, 2017
@ueno ueno deleted the wip/dueno/rpc-memcpy branch October 2, 2017 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant