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 6B9D968C-3411-4717-AAB6-364C7EFEEA9E@yesql.se
Whole thread Raw
In response to Re: [PATCH] Fix small overread during SASLprep  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: [PATCH] Fix small overread during SASLprep
List pgsql-hackers
> On 9 Sep 2024, at 23:21, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> 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.

Pushed, thanks!

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Conflict detection for update_deleted in logical replication
Next
From: David Rowley
Date:
Subject: Re: Proposal to Enable/Disable Index using ALTER INDEX