Re: BUG #15312: Possible access to unintended variable in "postgres/src/backend/postmaster/pgstat.c" line 2698

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: petrum(at)gmail(dot)com, Robert Haas <robertmhaas(at)gmail(dot)com>, Marti Raudsepp <marti(at)juffo(dot)org>
Subject: Re: BUG #15312: Possible access to unintended variable in "postgres/src/backend/postmaster/pgstat.c" line 2698
Date: 2018-08-07 15:31:21
Message-ID: 20180807153121.xvtkdrmqfr6cneye@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2018-Aug-07, PG Bug reporting form wrote:

> While experimenting with a CodeSonar plugin we develop, we noticed a
> potential bug in file "postgres/src/backend/postmaster/pgstat.c" line 2698
> function CreateSharedBackendStatus.

Hmm, yeah this is a bug, introduced by commit c8e8b5a6e20b AFAICS.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-08-07 17:10:07 BUG #15314: ..
Previous Message Maxim Boguk 2018-08-07 15:18:29 Re: BUG #15313: Waiting `startup` process on a streaming replica