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

WinMain passes incorrect argv to main()

XMLWordPrintable

    • f562244f33dc0e7068cc651ee558597d9597b299

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes