wolfSSL / wolfssh

wolfSSH is a small, fast, portable SSH implementation, including support for SCP and SFTP.
https://www.wolfssl.com
370 stars 88 forks source link

Fix Modes Leak #668

Closed ejohnstown closed 6 months ago

ejohnstown commented 6 months ago
  1. Add dynamic memory type of string to the allocation of the list of modes when opening a pty.
  2. When freeing a WOLFSSH object, free modes when it is set.

Testing using valgrind.