Re: BUG #19843: decode(..., 'base64url') returns an extra byte for "ab="

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Atisss hh <125atishprak(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: BUG #19843: decode(..., 'base64url') returns an extra byte for "ab="
Date: 2026-11-09 04:57:20
Message-ID: CAGRkXqRbqj9Q7cm3USncwtWkpF0Upv7-9p0ru8tNwpsGUnmD8g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Atish,

Thanks for the report. I think this is already fixed by the patch I
posted for BUG #19702[1]. With it 'ab=' and 'ab==cd' both raise the same
error as base64, and its tests include this case.

[1]https://postgr.es/m/19702-9ed4a131fcfadb9d@postgresql.org

Thanks,
Shihao

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message shihao zhong 2026-11-09 05:10:33 Re: BUG #19849: queries fail after ANALYZE with expression stats on arrays
Previous Message shihao zhong 2026-11-09 04:41:40 Re: Correction: 17.11/18.6 slot_getsomeattrs_int crash is not a d260d7d backpatch gap; request for triage direction