Avoid out of bounds write
Reviewed-by: Samuel
This commit is contained in:
parent
2d09fe38ac
commit
88f3b059a9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user