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.
> Assuming I didn't
> misunderstand you this patch seems correct to me.
Thanks for the review!
--Jacob