Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.5.0
-
None
-
Visual C++ 2010, Windows 7 64bit
-
f9489d08a52fd1f52fcf768d43c58c5cda4f25 (qtbase/5.5, 14.7.2015, 5.5.1)
Description
In Visual C++ __argv may be null if the entry point of the application is a wide main.
This is not checked in qcoreapplication.cpp:isArgvModified when the passed argc and argv are custom strings.
So this results in a crash at qcoreapplication.cpp:411
This didn't happen in 5.4.1
Attachments
Issue Links
- is duplicated by
-
QTBUG-48335 QApplication fails to start on release mode when using Qt as a backend of a plugin (Windows)
- Closed
- relates to
-
QTBUG-46118 Add support for wmain() on Windows
- Reported
- resulted from
-
QTBUG-30330 Windows: assertion if you pass QApplication arguments that are not exactly those retrieved by GetCommandLine()
- Closed