
13 Oct
2021
13 Oct
'21
5:35 p.m.
On Tue, 12 Oct 2021 13:04:56 +0200 Marek Behún kabel@kernel.org wrote:
- while (*s1 == env_get_char(i2++))
- while (*s1 != '\0' && *s1 == env_get_char(i2++))
This check has to be done in the other order: while (*s1 == env_get_char(i2++) && *s1 != '\0')
so that i2 gets incremented even if *s1 == '\0'.
Will be fixed in v2.