Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87441

QCoreApplication::arguments() crashes when positional arguments has "*"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.15.1
    • Core: Other
    • None
    • Windows

    Description

      QCoreApplication::arguments() will readily crash when a positional argument is composed of one or more asterisks "*". Attached dead simple program that reproduces the problem. I am compiling and running this under MinGW64 using Qt 5.15.1. 

      Run the program with: Test.exe * and observe that it crashes.

      Attachments

        1. CMakeLists.txt
          0.2 kB
        2. main.cpp
          0.2 kB

        Issue Links

          Activity

            People

              thiago Thiago Macieira
              droidmonkey Jonathan White
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: