Re: Fix integer truncation in frontend pnstrdup()

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix integer truncation in frontend pnstrdup()
Date: 2026-10-21 00:33:54
Message-ID: CAApHDvomfabD7j0p7w924xrEKqFt4kQ_Q-7zw4HsbFx3YkfOaA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 20 Oct 2026 at 20:41, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:
> The attached patch is a trivial fix for the frontend pnstrdup(), reusing the existing "Size size" variable to store the result of strnlen().

I've pushed this to master only.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message shihao zhong 2026-10-21 00:21:24 Re: [PATCH v1] Fix tab completion for DROP INDEX CONCURRENTLY