agora inbox for pgsql-bugs@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andrey Rachitskiy <pl0h0yp1@gmail.com>
Cc: ilia.kashintsev@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19612: SEGV in ParseConfigFp() in guc-file.l
Date: Sun, 16 Aug 2026 10:32:14 -0400
Message-ID: <343802.1786890734@sss.pgh.pa.us> (raw)
In-Reply-To: <aoFTGfKWOFxVZojJ@paquier.xyz>
References: <19612-24ccb4fc6da7786f@postgresql.org>
	<CAB8bMivnXcb7RRd=EKdY_nBOqR=6iJPwZx1oEGz+ayfqzj9HVQ@mail.gmail.com>
	<an1__bbJ4MNfy9Lp@paquier.xyz>
	<CAB8bMitdZN9RX+Yf8j1A2sBsrATNN39FX7biUi1T4G7V2XLHag@mail.gmail.com>
	<aoFTGfKWOFxVZojJ@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> It seems to me that we should also have a `goto cleanup` if
> yylex_init() fails, also pointing at d663f150b5ed that has switched
> the scanner to be reentrant where yylex_init() has been added.

Yeah.  The other thing not being covered here is the possibility
that yy_create_buffer fails and returns NULL.

			regards, tom lane






view thread (8+ messages)  latest in thread

Message-ID: <343802.1786890734@sss.pgh.pa.us>
Permalink:  ../343802.1786890734@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/343802.1786890734@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael@paquier.xyz, pl0h0yp1@gmail.com, ilia.kashintsev@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19612: SEGV in ParseConfigFp() in guc-file.l
  In-Reply-To: <343802.1786890734@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox