
28 Mar
2023
28 Mar
'23
5:13 p.m.
On Tue, 28 Mar 2023 08:34:13 +1300, Simon Glass wrote:
This function does not behave as expected when unknown escape sequences are sent to it:
- it fails to store (and thus echo) the last character of the invalid sequence
- it fails to set esc_len to 0 when it finishes emitting the invalid sequence, meaning that the following character will appear to be part of a new escape sequence
- it processes the first character of the rejected sequence as a valid character, just starting the sequence all over again
[...]
Applied to u-boot/master, thanks!
--
Tom