Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
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