[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix off-by-one in substring
From: |
felix . winkelmann |
Subject: |
Re: [PATCH] fix off-by-one in substring |
Date: |
Tue, 16 Apr 2024 11:05:41 +0200 |
> Hi,
>
> On Mon, 15 Apr 2024 12:50:44 +0200 felix.winkelmann@bevuta.com wrote:
>
> > This patch addresses #1823, which was caused by an off-by-one error
> > in the check of the end-index, which is exclusive. Thanks to "siiky" for
> > reporting this.
>
> Thanks siiky and Felix. I've pushed the patch.
Thanks, Mario!
>
> I think it actually fixes #1835, not #1823, right? At least I tested it
> against the utf8 issue and it does fix the problem (I've also been able
> to reproduce the problem _without_ the patch). :-)
Ugh, sorry, yes.
felix