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

Buffer overflow read in keyboard.cpp #41

Open
drfiemost opened this issue Aug 13, 2024 · 0 comments
Open

Buffer overflow read in keyboard.cpp #41

drfiemost opened this issue Aug 13, 2024 · 0 comments

Comments

@drfiemost
Copy link
Member

Detected with ASan at exit after pressing ESC:

 ../src/keyboard.cpp:119:19: runtime error: load of address 0x7f6c0c1e9360 with insufficient space for an object of type 'char'
0x7f6c0c1e9360: note: pointer points here
 00 00 00 00  1b 1b 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  26 dd ff 0b
              ^ 
../src/keyboard.cpp:146:18: runtime error: load of address 0x7f6c0c1e9361 with insufficient space for an object of type 'char'
0x7f6c0c1e9361: note: pointer points here
 00 00 00  1b 1b 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  26 dd ff 0b 6c
              ^ 
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