]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: console: make sure EnumFontFamiliesExW loop isn't infinite
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 7 Sep 2018 11:49:54 +0000 (13:49 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 7 Sep 2018 11:49:54 +0000 (13:49 +0200)
commitd83404e41808421442c8257392ecd095042cbfbf
tree28d884caa1c8341ce19ff64748ef5e35f518f3f5
parent7a720bfe087a5301e27a40ca8a3b687077541fa8
Cygwin: console: make sure EnumFontFamiliesExW loop isn't infinite

The current loop condition is borderline.  Make sure it ends and
choose a replacement char in the unlikely case the current console
font isn't recognized at all.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler_console.cc
This page took 0.03009 seconds and 5 git commands to generate.