On Tue, 12 Oct 2021 13:04:56 +0200
Marek Behún <[email protected]> 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.

Reply via email to