[vlc-devel] commit: Do not leak the telnet password ( Rafaël Carré )

git version control git at videolan.org
Tue May 6 13:23:30 CEST 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Tue May  6 11:16:03 2008 +0200| [7839b89dbe7485883987a456b67c7480ac12c3c7]

Do not leak the telnet password

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7839b89dbe7485883987a456b67c7480ac12c3c7
---

 modules/control/telnet.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/control/telnet.c b/modules/control/telnet.c
index 2c01c2c..98bf28b 100644
--- a/modules/control/telnet.c
+++ b/modules/control/telnet.c
@@ -2,7 +2,7 @@
  * telnet.c: VLM interface plugin
  *****************************************************************************
  * Copyright (C) 2000-2006 the VideoLAN team
- * $Id$
+ * $Id: 2c01c2c9b10169fac082556175b43e795096e59f $
  *
  * Authors: Simon Latapie <garf at videolan.org>
  *          Laurent Aimar <fenrir at videolan.org>
@@ -452,6 +452,8 @@ static void Run( intf_thread_t *p_intf )
             }
         }
     }
+
+    free( psz_password );
 }
 
 static void Write_message( telnet_client_t *client, vlm_message_t *message,




More information about the vlc-devel mailing list