Re: [PATCH] Fix small overread during SASLprep - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: [PATCH] Fix small overread during SASLprep
Date
Msg-id 13AFC696-52F8-4B14-9D20-7F6C8F943D2E@yesql.se
Whole thread Raw
In response to Re: [PATCH] Fix small overread during SASLprep  (Jacob Champion <jacob.champion@enterprisedb.com>)
Responses Re: [PATCH] Fix small overread during SASLprep
List pgsql-hackers
> On 9 Sep 2024, at 20:41, Jacob Champion <jacob.champion@enterprisedb.com> wrote:
>
> On Mon, Sep 9, 2024 at 11:30 AM Daniel Gustafsson <daniel@yesql.se> wrote:
>> Just to make sure I understand, this is for guarding against overreads in
>> validation of strings containing torn MB characters?
>
> Right. Our SASLprep code doesn't require/enforce UTF8-encoded inputs.

Thanks for confirming, I'll have another look in the morning and will apply
then unless there are objections.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: Pgoutput not capturing the generated columns
Next
From: Daniel Gustafsson
Date:
Subject: Re: Retire support for OpenSSL 1.1.1 due to raised API requirements