Avoid out of bounds write

Reviewed-by: Samuel
This commit is contained in:
Lars Knoll 2011-06-08 14:24:17 +02:00
parent 2d09fe38ac
commit 88f3b059a9

View File

@ -287,8 +287,10 @@ void QGuiApplicationPrivate::init()
}
}
argv[j] = 0;
argc = j;
if (j < argc) {
argv[j] = 0;
argc = j;
}
#if 0
QByteArray pluginEnv = qgetenv("QT_QPA_PLUGINS");