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

Potential buffer overflow from usage of unsafe function in src/tools.c, src/keys.c #99

Open
WafiWadud opened this issue Dec 30, 2024 · 0 comments

Comments

@WafiWadud
Copy link
Contributor

Line 163 in tools.c, line 168 in tools.c, line 344 in keys.c, line 708 in keys.c, can have buffer overflows due to strcopy, instead please use strncopy which would allow for limiting the bytes sent to the buffer.

line 165 in tools.c, can have buffer overflows due to strcat, instead please use strncat which would allow for limiting the bytes sent to the buffer.

Line 323 in tools.c strcopies (strcopys??? dunno) Unsanitized input from a file, where it is used to manipulate a string. This may result in a buffer overflow vulnerability.

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