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

WinMain passes incorrect argv to main()

    XMLWordPrintable

Details

    • 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

        For Gerrit Dashboard: QTBUG-44050
        # Subject Branch Project Status CR V

        Activity

          People

            poikelin Joni Poikelin
            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