]> granicus.if.org Git - esp-idf/commit
idf_exe: fix NULL pointer passed to WriteFile
authorIvan Grokhotkov <ivan@espressif.com>
Tue, 9 Jul 2019 12:10:00 +0000 (14:10 +0200)
committerIvan Grokhotkov <ivan@espressif.com>
Tue, 9 Jul 2019 12:15:09 +0000 (14:15 +0200)
commit76dc87e9adb6ed9026c71ab2f32d0b4b25d9bb95
treec5ffd6aff8eadb976bd423164c0eaffa621d9d83
parent896d6752485e3c9c9aa689c4a7fa63371c573fe1
idf_exe: fix NULL pointer passed to WriteFile

For an unknown reason, passing NULL pointer instead of &written worked
on Windows 10 and on Windows 7 when stdout is not redirected.

Closes https://github.com/espressif/esp-idf/issues/3740
tools/windows/idf_exe/idf_main.c