]> git.lyx.org Git - features.git/commit
Avoid an assertion when compiling in debug mode with MSVC 2015
authorEnrico Forestieri <forenr@lyx.org>
Wed, 12 Apr 2017 19:19:42 +0000 (21:19 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 12 Apr 2017 19:19:42 +0000 (21:19 +0200)
commit031748d9c88c60d6a7c79b00599955c49a3c56aa
tree45a29feb6c9089ba9d5307799a5abc00dab8b05b
parent06fb58a2dabbbc78794101ae19f30e541e944d6d
Avoid an assertion when compiling in debug mode with MSVC 2015

Seemingly, when removing an argument from argv, and thus inserting
a null pointer to shorten the array, causes an assertion because
the null pointer is not a valid heap pointer (sic!)

Fixes bug #10440
src/main.cpp
src/support/os.h
src/support/os_cygwin.cpp
src/support/os_unix.cpp
src/support/os_win32.cpp
src/tex2lyx/tex2lyx.cpp