Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

fix incorrect sizeof usage #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szsam
Copy link

@szsam szsam commented Aug 23, 2023

sizeof(ctx) evaluates to the size of the pointer type, which is not what we want. We should zero the struct that ctx points to.

sizeof(ctx) evaluates to the size of the pointer type, which is not what
we want. We should zero the struct that ctx points to.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant