Commit 4488d196 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Qt4: fix buffer overflow

parent 0786bb1a
......@@ -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 );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment