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

[BUG] Potential memory leak in rdesktop/tcp.c:389 #406

Open
1 task
rachyyyy opened this issue Jan 16, 2023 · 0 comments
Open
1 task

[BUG] Potential memory leak in rdesktop/tcp.c:389 #406

rachyyyy opened this issue Jan 16, 2023 · 0 comments

Comments

@rachyyyy
Copy link

Calling gnutls_certificate_allocate_credentials() in rdesktop/tcp.c:389 line 389, allocate the memory stored in &xcred without calling the pairing function gnutls_certificate_free_credentials() to free the memory will cause a memory leak.

image

The doc says "gnutls_certificate_free_credentials frees a gnutls_certificate_credentials_t structure."

  • This bug is a security issue
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