[vlc-commits] sftp: fix memory corruption
Petri Hintukainen
git at videolan.org
Fri Jan 27 22:18:51 CET 2017
vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Fri Jan 27 22:36:15 2017 +0200| [ed6408b5eaecaf17a2bcfcca0bcc8cfdb07abd7f] | committer: Petri Hintukainen
sftp: fix memory corruption
man libssh2_userauth_list:
On success a comma delimited list of supported authentication schemes.
This list is internally managed by libssh2.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ed6408b5eaecaf17a2bcfcca0bcc8cfdb07abd7f
---
modules/access/sftp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index 5693e34..f895ee1 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -423,7 +423,6 @@ static int Open( vlc_object_t* p_this )
error:
free( psz_home );
free( psz_remote_home );
- free( psz_userauthlist );
vlc_UrlClean( &url );
vlc_credential_clean( &credential );
vlc_UrlClean( &credential_url );
More information about the vlc-commits
mailing list