From: Tom Lane <tgl@sss.pgh.pa.us>
To: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17935: Incorrect memory access in fuzzystrmatch/difference()
Date: Tue, 16 May 2023 10:23:03 -0400
Message-ID: <2595015.1684246983@sss.pgh.pa.us> (raw)
In-Reply-To: <17935-b99316aa79c18513@postgresql.org>
References: <17935-b99316aa79c18513@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> In this case, _soundex() exits prematurely and sets only first and last
> char
> of it's parameter outstr, but difference() loops through SOUNDEX_LEN
> chars,
> and thus uses initialized data.
Yup, that's pretty sloppy, will fix.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17935: Incorrect memory access in fuzzystrmatch/difference()
In-Reply-To: <2595015.1684246983@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox