diff options
author | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2013-07-25 13:24:22 -0300 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2013-07-25 13:24:22 -0300 |
commit | ba95aed6f1067dc577d8813625233982157167d9 (patch) | |
tree | cf88790ee13bc2bcbf4d33befb3362ea61451054 /.travis.yml | |
parent | 1aa0ad2725d4421b007db0e604e7f7a624069925 (diff) | |
download | mpv-ba95aed6f1067dc577d8813625233982157167d9.tar.bz2 mpv-ba95aed6f1067dc577d8813625233982157167d9.tar.xz |
getch2: Avoid possible infinite loop
If the first character is not a valid UTF-8 start code nor is in termcap,
getch2 would enter an infinite loop. Always walk 1 byte in the UTF-8 case
unless it's a valid start code.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions