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. main.cpp
          0.2 kB
          Jonathan White
        2. CMakeLists.txt
          0.2 kB
          Jonathan White

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes