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 overflow #241

Closed
wants to merge 1 commit into from
Closed

Fix overflow #241

wants to merge 1 commit into from

Conversation

za3k
Copy link

@za3k za3k commented Aug 3, 2022

I believe this fixes issue #239, where args.flags was getting clobbered by an overflow

The problem was that sizeof(char_or_func) is 129, not 128, due to the trailing null byte.

However, I've tested logkeys on two computers, and on both I have unrelated keymap issues. Could someone please make sure this isn't breaking anything horribly before merging it? (ex. that I'm not chopping off a key?)

@za3k za3k deleted the branch kernc:master August 4, 2022 19:17
@za3k za3k closed this Aug 4, 2022
@za3k za3k deleted the master branch August 4, 2022 19:17
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.

1 participant