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

WinMain passes incorrect argv to main()

    XMLWordPrintable

    Details

    • Commits:
      f562244f33dc0e7068cc651ee558597d9597b299

      Description

      C++ standard requires argv parameter of main function to have null pointer at argv[argc]. Currently argv[argc] is out of bounds of the argv array. See 3.6.1, paragraph 2:

      http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3337.pdf

        Attachments

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

          Activity

            People

            Assignee:
            poikelin Joni Poikelin
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes