[vlc-devel] commit: Fix crash from 36e833c3 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 12 10:25:54 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct 12 11:21:05 2008 +0300| [28dd999c3041a49b8f0954437e474beeb2325084] | committer: Rémi Denis-Courmont 

Fix crash from 36e833c3

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

 modules/control/http/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/http/http.c b/modules/control/http/http.c
index 580152f..bf706fe 100644
--- a/modules/control/http/http.c
+++ b/modules/control/http/http.c
@@ -609,7 +609,7 @@ int  HandlerCallback( httpd_handler_sys_t *p_args,
         TAB_APPEND( i_env, ppsz_env, psz_tmp );
     }
 
-    asprintf( psz_tmp, "SCRIPT_NAME=%s", p_url );
+    asprintf( &psz_tmp, "SCRIPT_NAME=%s", p_url );
     TAB_APPEND( i_env, ppsz_env, psz_tmp );
 
 #define p_sys p_args->file.p_intf->p_sys




More information about the vlc-devel mailing list