[vlc-devel] commit: Qt4: fix buffer overflow ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Dec 8 21:05:07 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 8 18:33:35 2009 +0200| [4488d196b33729f545a9d36aac53b90253279c82] | committer: Rémi Denis-Courmont
Qt4: fix buffer overflow
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4488d196b33729f545a9d36aac53b90253279c82
---
modules/gui/qt4/qt4.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 4cb7d1c..b84815e 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -345,7 +345,7 @@ static void *Thread( void *obj )
intf_thread_t *p_intf = (intf_thread_t *)obj;
MainInterface *p_mi;
char dummy[] = "vlc"; /* for WM_CLASS */
- char *argv[] = { dummy, NULL, };
+ char *argv[4] = { dummy, NULL, };
int argc = 1;
Q_INIT_RESOURCE( vlc );
More information about the vlc-devel
mailing list