> On 19 Nov 2026, at 02:33, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
> In calc_word_similarity(), an array is allocated with zero elements, but the
> function reads found[0], accessing one byte outside the allocated array
> bounds.
Verified, the trivial diff attached avoids this.
--
Daniel Gustafsson