| From: | Prashant Chinnam <crprashant(at)hotmail(dot)com> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Takeshi Ideriha <iderihatakeshi(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Subject: | Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743) |
| Date: | 2026-11-23 23:56:38 |
| Message-ID: | SN7P223MB060043C922FC6E6A4F246BA6DD452@SN7P223MB0600.NAMP223.PROD.OUTLOOK.COM |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Daniel,
Thanks for taking a look.
> Has a scenario with this many rounds been observed in the
> wild or is this an AI/analysis driven fix?
This started from a regular bug report: BUG #19743, filed
by Ke Han on pgsql-bugs against 18.6 [1]. I picked it up
from there, reproduced the wrap on master, and wrote the
fix. I don't know whether Ke Han hit it in production or
found it by testing, but the report predates my
involvement. As noted in my submission, testing was done
with AI assistance.
Understood on the timing -- happy to wait until things
calm down.
[1] https://postgr.es/m/19743-c48782d257b89819@postgresql.org
Regards,
Prashant Chinnam
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bharath Rupireddy | 2026-11-23 23:57:41 | Re: pg_walinspect: add functions to locate and list WAL by time and LSN |
| Previous Message | Daniel Gustafsson | 2026-11-23 23:47:24 | Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743) |