diff options
-rw-r--r-- | uxd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -648,7 +648,8 @@ int dump_utf8_char(void) { } } - if(is_out_of_range(cont_count, bytes)) + /* don't check bad sequences for out-of-range */ + if(!bad && is_out_of_range(cont_count, bytes)) bad = 1; if(is_overlong(cont_count, bytes)) |