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

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

XMLWordPrintable

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

      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.

        1. main.cpp
          0.2 kB
          Jonathan White
        2. CMakeLists.txt
          0.2 kB
          Jonathan White
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes