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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Platform/s:
      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

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              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