Re: UBSAN crash in EventTriggerCollectAlterTSConfig (memcpy with NULL src)

Florin Irion <irionr@gmail.com>

From: Florin Irion <irionr@gmail.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2026-03-04T14:16:42Z
Lists: pgsql-hackers
Thank you!

Il giorno mer 4 mar 2026 alle ore 15:10 Álvaro Herrera <alvherre@kurilemu.de>
ha scritto:

> On 2026-Mar-03, Florin Irion wrote:
>
> > On 03/03/26 20:48, Álvaro Herrera wrote:
> >
> > > Cool, yeah, this is broken.  I propose to add the corresponding test in
> > > src/test/modules/test_ddl_deparse though -- that way we don't need
> > > another event trigger.  So how about like this?
> >
> > LGTM, I had to look up the CREATE TEXT SEARCH CONFIGURATION
> > first time I saw it.
>
> Okay, thanks, pushed to all branches.
>
> --
> Álvaro Herrera         PostgreSQL Developer  —
> https://www.EnterpriseDB.com/
> "But static content is just dynamic content that isn't moving!"
>                 http://smylers.hates-software.com/2007/08/15/fe244d0c.html
>


-- 
    * Florin Irion  *
*    https://www.enterprisedb.com <https://www.enterprisedb.com/>*

Commits

  1. Don't malloc(0) in EventTriggerCollectAlterTSConfig