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

EHRegisterClientForEvent stores a stack address for later use #81

Closed
andrei-datcu opened this issue Jul 14, 2020 · 1 comment
Closed

Comments

@andrei-datcu
Copy link
Contributor

Stores it here:
https://github.com/LudovicRousseau/PCSC/blob/3c80087/src/eventhandler.c#L70

Uses it here:
https://github.com/LudovicRousseau/PCSC/blob/3c80087/src/eventhandler.c#L125

The only thing I'm really missing is why is this not crashing? Is there some kind of compiler inlining that hides the bug?

@andrei-datcu
Copy link
Contributor Author

This is not a bug. I was just misreading the list_insert_at function.

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

No branches or pull requests

1 participant